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 /man7/unix.7 | |
| 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 'man7/unix.7')
0 files changed, 0 insertions, 0 deletions
