diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2018-07-05 11:36:43 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2018-07-05 18:37:54 +0200 |
| commit | eada5570b045578fbb52d5635cd926e7a1e9c3a6 (patch) | |
| tree | 85fb7c13e4928a234f6742bbcb3a9b97aa92003c /man5/proc.5 | |
| parent | fb49322d22edaf6c71c196b6ecfc7b099c87a010 (diff) | |
| download | man-pages-eada5570b045578fbb52d5635cd926e7a1e9c3a6.tar.gz | |
proc.5: Setting dumpable to 1 reverts ownership of /proc/PID/* to effective IDs
The statement that resetting the dumpable attribute of a process
to 1 causes the ownership of files to revert the process's real
IDs looked suspect. And indeed it is at odds with the code in
fs/proc/base.c::task_dump_owner() (Linux 4.16 sources).
Further verified with a quick test that resetting dumpable to 1
causes the ownership of /proc/PID/* files to revert to the
process's effective IDs. Mea culpa for the original mistake.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5/proc.5')
| -rw-r--r-- | man5/proc.5 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index 0ea7b5894e..0410ed0b48 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -188,7 +188,7 @@ The attribute was reset to the value in the file .IP Resetting the "dumpable" attribute to 1 reverts the ownership of the .IR /proc/[pid]/* -files to the process's real UID and real GID. +files to the process's effective UID and GID. .TP .I /proc/[pid]/attr .\" https://lwn.net/Articles/28222/ |
