diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-06-11 10:41:59 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-06-29 07:06:28 +0200 |
| commit | 82664739bed9bc86c75fadb2a86d429925abbeb1 (patch) | |
| tree | 99938a09495297657efa29dcf52748fa351015e1 | |
| parent | aee2f0bfa1a46dbbd3ffa9d111e444504a2d02a2 (diff) | |
| download | man-pages-82664739bed9bc86c75fadb2a86d429925abbeb1.tar.gz | |
proc.5: /proc/PID/{auxv,environ,wchan} are governed by PTRACE_MODE_READ_FSCREDS
Permission to access /proc/PID/{auxv,environ,wchan} is governed by
a PTRACE_MODE_READ_FSCREDS ptrace access mode check.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man5/proc.5 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index eba75e4dd5..7851476bfa 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -284,6 +284,11 @@ plus one \fIunsigned long\fP value for each entry. The last entry contains two zeros. See also .BR getauxval (3). + +Permission to access this file is governed by a ptrace access mode +.B PTRACE_MODE_READ_FSCREDS +check; see +.BR ptrace (2). .TP .IR /proc/[pid]/cgroup " (since Linux 2.6.24)" See @@ -448,6 +453,11 @@ Thus, to print out the environment of process 1, you would do: .fi .ft P .in + +Permission to access this file is governed by a ptrace access mode +.B PTRACE_MODE_READ_FSCREDS +check; see +.BR ptrace (2). .TP .I /proc/[pid]/exe Under Linux 2.2 and later, this file is a symbolic link @@ -2368,6 +2378,11 @@ See .IR /proc/[pid]/wchan " (since Linux 2.6.0)" The symbolic name corresponding to the location in the kernel where the process is sleeping. + +Permission to access this file is governed by a ptrace access mode +.B PTRACE_MODE_READ_FSCREDS +check; see +.BR ptrace (2). .TP .I /proc/apm Advanced power management version and battery information when |
