mirror of https://github.com/mkerrisk/man-pages
proc.5: Alert the reader that UID/GID changes can reset the "dumpable" attribute
Reported-by: Eric Hopper <hopper@omnifarious.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
314f7c114e
commit
0368720957
|
@ -278,6 +278,12 @@ The attribute was reset to the value in the file
|
|||
Resetting the "dumpable" attribute to 1 reverts the ownership of the
|
||||
.IR /proc/[pid]/*
|
||||
files to the process's effective UID and GID.
|
||||
Note, however, that if the effective UID or GID is subsequently modified,
|
||||
then the "dumpable" attribute may be reset, as described in
|
||||
.BR prctl (2).
|
||||
Therefore, it may be desirable to reset the "dumpable" attribute
|
||||
.I after
|
||||
making any desired changes to the process's effective UID or GID.
|
||||
.TP
|
||||
.I /proc/[pid]/attr
|
||||
.\" https://lwn.net/Articles/28222/
|
||||
|
|
Loading…
Reference in New Issue