mirror of https://github.com/mkerrisk/man-pages
prctl.2: Reorder paragraphs describing PR_SET_DUMPABLE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0de51ed1fc
commit
6e2bb1c2f7
14
man2/prctl.2
14
man2/prctl.2
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue