]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
The PR_SET_NAME setting is not preserved across an execve().
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 13 Sep 2006 14:08:11 +0000 (14:08 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 13 Sep 2006 14:08:11 +0000 (14:08 +0000)
man2/execve.2

index e660c1cb4cc82a06521570ce76e08e05a9f72801..67a8b51841a07139b0a765bb0b69a7e6c4bdf897 100644 (file)
@@ -162,6 +162,13 @@ The
 .B PR_SET_KEEPCAPS
 flag is cleared.
 .IP * 4
+The process name, as set by
+.BR prctl (2)
+.BR PR_SET_NAME 
+(and displayed by
+.IR "ps -o comm" ),
+is reset to the name of the new executable file.
+.IP * 4
 The termination signal is reset to SIGCHLD
 (see
 .BR clone (2)).