diff --git a/man2/execve.2 b/man2/execve.2 index 154b38d42..eb44abd31 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -210,8 +210,7 @@ The following Linux-specific process attributes are also not preserved during an .BR execve (): .IP * 3 -The process's dumpable -flag is set to the value 1, +The process's "dumpable" attribute is set to the value 1, unless a set-user-ID program, a set-group-ID program, or a program with capabilities is being executed, in which case the dumpable flag may instead be reset to the value in @@ -220,6 +219,13 @@ in the circumstances described under .BR PR_SET_DUMPABLE in .BR prctl (2). +Note that changes to the "dumpable" attribute may cause ownership +of files in the process's +.IR /proc/[pid] +directory to change to +.IR root:root , +as described in +.BR proc (5). .IP * The .BR prctl (2)