Message ID | 20200610065735.3975740-3-mtk.manpages@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/4] cap_get_proc.3: Typo fixes | expand |
diff --git a/doc/getpcaps.8 b/doc/getpcaps.8 index be9935f..aaaf0a2 100644 --- a/doc/getpcaps.8 +++ b/doc/getpcaps.8 @@ -10,7 +10,14 @@ getpcaps \- display process capabilities .B getpcaps displays the capabilities on the processes indicated by the .I pid -value(s) given on the commandline. The capabilities are displayed in +value(s) given on the command line. +A +.I pid +of 0 displays the capabilities of the process that is running +.B getpcaps +itself. +.PP +The capabilities are displayed in the .BR cap_from_text (3) format.
When experimenting with capabilities, it's useful to know that pid==0 causes getpcaps to display its own capabilities. Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com> --- doc/getpcaps.8 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)