prctl.2: The parent death signal is cleared on some credential changes

See kernel/cred.c::commit_creds() in the Linux 5.6 source code.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-07-11 11:37:01 +02:00
parent 28a4c58cc2
commit 402f2e7b67
1 changed files with 6 additions and 0 deletions

View File

@ -1079,6 +1079,12 @@ or a binary that has associated capabilities (see
.BR capabilities (7));
otherwise, this value is preserved across
.BR execve (2).
The parent-death signal setting is also cleared upon changes to
any of the following thread credentials:
.\" FIXME capability changes can also trigger this; see
.\" kernel/cred.c::commit_creds inthe Linux 5.6 source.
effective user ID, effective group ID, filesystem user ID,
or filesystem group ID.
.\" prctl PR_GET_PDEATHSIG
.TP
.BR PR_GET_PDEATHSIG " (since Linux 2.3.15)"