mirror of https://github.com/mkerrisk/man-pages
kcmp.2: Note about SECURITY_YAMA
This commit is contained in:
parent
8c93a5df95
commit
8ec68b89b4
|
@ -187,7 +187,12 @@ is invalid.
|
|||
Insufficient permission to inspect process resources.
|
||||
The
|
||||
.B CAP_SYS_PTRACE
|
||||
capability is required to inspect processes that you do not own.
|
||||
capability is required to inspect processes that you do not own. Other
|
||||
limitations on ptrace apply, such as
|
||||
.BR CONFIG_SECURITY_YAMA ,
|
||||
which when /proc/sys/kernel/yama/ptrace_scope is 2 (the default) limits
|
||||
.BR kcmp()
|
||||
to child processes.
|
||||
.TP
|
||||
.B ESRCH
|
||||
Process
|
||||
|
|
Loading…
Reference in New Issue