mirror of https://github.com/mkerrisk/man-pages
prctl.2: Minor restructuring of text for PR_SET_DUMPABLE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
13f296bcc4
commit
4a3713a498
|
@ -140,12 +140,14 @@ in the location pointed to by
|
|||
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
|
||||
|
||||
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 and also by
|
||||
various system calls that manipulate process UIDs and GIDs).
|
||||
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 (process is not dumpable) or 1 (process is dumpable).
|
||||
|
@ -161,6 +163,7 @@ for security reasons, this feature has been removed.
|
|||
.I /proc/sys/fs/suid_dumpable
|
||||
in
|
||||
.BR proc (5).)
|
||||
|
||||
Processes that are not dumpable can not be attached via
|
||||
.BR ptrace (2)
|
||||
.BR PTRACE_ATTACH .
|
||||
|
|
Loading…
Reference in New Issue