prctl.2: Reorder paragraphs describing PR_SET_DUMPABLE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-19 13:52:27 +01:00
parent 0de51ed1fc
commit 6e2bb1c2f7
1 changed files with 7 additions and 7 deletions

View 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 .