prctl.2: PR_SET_PDEATHSIG value is preserved across execve(2)

Reported-by: Марк Коренберг <socketpair@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-02-10 11:09:38 +01:00
parent 65126e6141
commit 92cfcaf7e5
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@
.\" 2012-02-04 Michael kerrisk, document PR_{SET,GET}_CHILD_SUBREAPER
.\"
.\"
.TH PRCTL 2 2013-05-21 "Linux" "Linux Programmer's Manual"
.TH PRCTL 2 2014-02-10 "Linux" "Linux Programmer's Manual"
.SH NAME
prctl \- operations on a process
.SH SYNOPSIS
@ -305,6 +305,8 @@ This value is cleared for the child of a
.BR fork (2)
and (since Linux 2.4.36 / 2.6.23)
when executing a set-user-ID or set-group-ID binary.
This value is preserved across
.BR execve (2).
.TP
.BR PR_GET_PDEATHSIG " (since Linux 2.3.15)"
Return the current value of the parent process death signal,