From 30cc7676efda480f8c8233aa4860df45bb65f622 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 27 Oct 2012 06:28:48 +0200 Subject: [PATCH] execve.2: Document treatment of PR_SET_PDEATHSIG on execve() Signed-off-by: Michael Kerrisk --- man2/execve.2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man2/execve.2 b/man2/execve.2 index 66781aff7..3dcbc7057 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -34,7 +34,7 @@ .\" 2007-09-14 Ollie Wild , mtk .\" Add text describing limits on command-line arguments + environment .\" -.TH EXECVE 2 2012-05-04 "Linux" "Linux Programmer's Manual" +.TH EXECVE 2 2012-10-27 "Linux" "Linux Programmer's Manual" .SH NAME execve \- execute program .SH SYNOPSIS @@ -179,6 +179,13 @@ The .B PR_SET_KEEPCAPS flag is cleared. .IP * +(Since Linux 2.4.36 / 2.6.23) +If a set-user-ID or set-group-ID program is being executed, +then the parent death signal set by +.BR prctl (2) +.B PR_SET_PDEATHSIG +flag is cleared. +.IP * The process name, as set by .BR prctl (2) .B PR_SET_NAME