kcmp.2: Minor tweaks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-06-09 10:20:09 +02:00
parent 8ec68b89b4
commit 5c1932ae50
1 changed files with 9 additions and 5 deletions

View File

@ -187,12 +187,16 @@ is invalid.
Insufficient permission to inspect process resources. Insufficient permission to inspect process resources.
The The
.B CAP_SYS_PTRACE .B CAP_SYS_PTRACE
capability is required to inspect processes that you do not own. Other capability is required to inspect processes that you do not own.
limitations on ptrace apply, such as Other ptrace limitations imay also apply, such as
.BR CONFIG_SECURITY_YAMA , .BR CONFIG_SECURITY_YAMA ,
which when /proc/sys/kernel/yama/ptrace_scope is 2 (the default) limits which when
.BR kcmp() .I /proc/sys/kernel/yama/ptrace_scope
to child processes. is 2 (the default) limits
.BR kcmp ()
to child processes;
see
.BR ptrace (2).
.TP .TP
.B ESRCH .B ESRCH
Process Process