]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
prctl.2: The parent death signal is cleared on some credential changes
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 11 Jul 2020 09:37:01 +0000 (11:37 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 11 Jul 2020 09:40:24 +0000 (11:40 +0200)
See kernel/cred.c::commit_creds() in the Linux 5.6 source code.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/prctl.2

index 99bddd3cc7aa806e8d893039c8575c06bd231b2a..d2a52d34c5a496c51e610d6965e1252c9d6fdb42 100644 (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)"