From 5c1932ae50f6ef190de55c4115ac23d09c39beb9 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 9 Jun 2016 10:20:09 +0200 Subject: [PATCH] kcmp.2: Minor tweaks Signed-off-by: Michael Kerrisk --- man2/kcmp.2 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/man2/kcmp.2 b/man2/kcmp.2 index d834a17bf..cd7cbe71a 100644 --- a/man2/kcmp.2 +++ b/man2/kcmp.2 @@ -187,12 +187,16 @@ is invalid. Insufficient permission to inspect process resources. The .B CAP_SYS_PTRACE -capability is required to inspect processes that you do not own. Other -limitations on ptrace apply, such as +capability is required to inspect processes that you do not own. +Other ptrace limitations imay also 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. +which when +.I /proc/sys/kernel/yama/ptrace_scope +is 2 (the default) limits +.BR kcmp () +to child processes; +see +.BR ptrace (2). .TP .B ESRCH Process