diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2019-03-13 17:30:03 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2019-03-13 17:30:03 +0000 |
commit | 504748bc88f1295a9410601225bb82c133ffe51b (patch) | |
tree | 55a76e86f6471ce683d70cca746559a09e80cea1 /usr.bin/proccontrol | |
parent | 1b5be7204eaeeaf58eefdebe5b308f90792c693b (diff) | |
download | src-504748bc88f1295a9410601225bb82c133ffe51b.tar.gz src-504748bc88f1295a9410601225bb82c133ffe51b.zip |
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
Notes
Notes:
svn path=/head/; revision=345089
Diffstat (limited to 'usr.bin/proccontrol')
-rw-r--r-- | usr.bin/proccontrol/proccontrol.1 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/proccontrol/proccontrol.1 b/usr.bin/proccontrol/proccontrol.1 index ab2fcdc2f582..79a6e489fcda 100644 --- a/usr.bin/proccontrol/proccontrol.1 +++ b/usr.bin/proccontrol/proccontrol.1 @@ -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 |