]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
prctl.2: Reorder paragraphs describing PR_SET_DUMPABLE
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 19 Jan 2015 12:52:27 +0000 (13:52 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 21 Feb 2015 06:58:27 +0000 (07:58 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/prctl.2

index 1b149512fd7b1d53c4218dcb1a17f7564f8ec660..b2b3508258fbc8c80d6b6333590d3e5e3d068e5a 100644 (file)
@@ -141,13 +141,6 @@ Set the state of the flag determining whether core dumps are produced
 for the calling process upon delivery of a signal whose default behavior is
 to produce a core dump.
 
-Normally, this flag is set for a process by default, but it is cleared
-when a set-user-ID or set-group-ID program,
-or a program that has file capabilities associated with it (see
-.BR capabilities (7)),
-is executed.
-It is also set by various system calls that manipulate process UIDs and GIDs.
-
 In kernels up to and including 2.6.12,
 .I arg2
 must be either 0
@@ -170,6 +163,13 @@ for security reasons, this feature has been removed.
 in
 .BR proc (5).)
 
+Normally, this flag is set for a process by default, but it is cleared
+when a set-user-ID or set-group-ID program,
+or a program that has file capabilities associated with it (see
+.BR capabilities (7)),
+is executed.
+It is also set by various system calls that manipulate process UIDs and GIDs.
+
 Processes that are not dumpable can not be attached via
 .BR ptrace (2)
 .BR PTRACE_ATTACH .