CAP_SYS_PTRACE is required (via ptrace_may_access) for accessing various
things in /proc, so include it in the CAP_SYS_PTRACE bullet list.
Also, add a hint that other things throughout the kernel may check this
via ptrace_may_access().
Signed-off-by: Jonathon Reinhart <jrreinhart@google.com>
Message-ID: <
20250924152313.
1902586-1-jrreinhart@google.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Trace arbitrary processes using
.BR ptrace (2);
.IP \[bu]
+inspect sensitive information of other processes via
+.I /proc
+(e.g., reading
+.IR /proc/ pid /maps ,
+.IR /proc/ pid /mem ,
+or reading symbolic links
+.IR /proc/ pid /exe ,
+.IR /proc/ pid /fd/* );
+.IP \[bu]
apply
.BR get_robust_list (2)
to arbitrary processes;
.BR process_vm_writev (2);
.IP \[bu]
inspect processes using
-.BR kcmp (2).
+.BR kcmp (2);
+.IP \[bu]
+perform other privileged process-inspection and debugging operations.
+(See uses of the
+.IR ptrace_may_access ()
+kernel function.)
.RE
.PD
.TP