svn commit: r345089 - head/usr.bin/proccontrol

Konstantin Belousov kib at FreeBSD.org
Wed Mar 13 17:30:04 UTC 2019


Author: kib
Date: Wed Mar 13 17:30:03 2019
New Revision: 345089
URL: https://svnweb.freebsd.org/changeset/base/345089

Log:
  Some fixes for proccontrol(1) man page.
  
  - Fix markup.
  - Mention that process can only allow tracing for itself.  This is already
    stated in procctl(2), but requiring knowledge of the syscall description
    is too much for the tool user.
  - Clearly state that query mode only works for existing process.
  
  Noted and reviewed by:	pho
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/usr.bin/proccontrol/proccontrol.1

Modified: head/usr.bin/proccontrol/proccontrol.1
==============================================================================
--- head/usr.bin/proccontrol/proccontrol.1	Wed Mar 13 17:00:15 2019	(r345088)
+++ head/usr.bin/proccontrol/proccontrol.1	Wed Mar 13 17:30:03 2019	(r345089)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 22, 2019
+.Dd March 13, 2019
 .Dt PROCCONTROL 1
 .Os
 .Sh NAME
@@ -62,12 +62,14 @@ Control the Address Space Layout Randomization.
 Only applicable to the new process spawned.
 .It Ar trace
 Control the permission for debuggers to attach.
+Note that process is only allowed to enable tracing for itself,
+not for any other process.
 .It Ar trapcap
 Controls the signalling of capability mode access violations.
 .El
 .Pp
 The
-Ar control
+.Ar control
 specifies if the selected
 .Ar mode
 should be enabled or disabled.
@@ -84,9 +86,13 @@ for detailed description of each mode effects and inte
 process control facilities.
 .Pp
 The
-.Op Fl q
+.Fl q
 switch makes the utility query and print the current setting for
 the selected mode.
+The
+.Fl q
+requires the query target process specification with
+.Fl p .
 .Sh EXIT STATUS
 .Ex -std
 .Sh EXAMPLES


More information about the svn-src-all mailing list