prctl.2: Be more precise in what causes dumpable to reset

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Keno Fischer 2016-12-27 16:52:16 -05:00 committed by Michael Kerrisk
parent f8dcca844a
commit 27ce08bf1d
1 changed files with 10 additions and 4 deletions

View File

@ -216,7 +216,7 @@ However, it is reset to the current value contained in the file
in the following circumstances:
.\" See kernel/cred.c::commit_creds() (Linux 3.18 sources)
.RS
.IP * 3
.IP * 4
The process's effective user or group ID is changed.
.IP *
The process's filesystem user or group ID is changed (see
@ -224,9 +224,15 @@ The process's filesystem user or group ID is changed (see
.IP *
The process executes
.RB ( execve (2))
a set-user-ID or set-group-ID program,
or a program that has capabilities (see
.BR capabilities (7)).
a set-user-ID or set-group-ID program, resuling in a change
of either effective user or group id.
.IP *
The process executes
.RB ( execve (2))
a program that has file capabilities (see
.BR capabilities (7)),
but only if the permitted capabilities
gained exceed those already permitted for the current process.
.\" Also certain namespace operations;
.RE
.IP