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
This commit is contained in:
Konstantin Belousov 2019-03-13 17:30:03 +00:00
parent 1b5be7204e
commit 504748bc88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345089

View File

@ -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 interaction with other
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