mirror of https://github.com/mkerrisk/man-pages
ptrace.2: clarify PTRACE_O_EXITKILL
The description in the man page is confusing; it makes it sound like setting the PTRACE_O_EXITKILL flag on any tracee makes it so that all tracees are killed if the tracer exits. The description from kernel commit 992fb6e170639b that introduced PTRACE_O_EXITKILL offers a different explanation: "If the tracer exits it sends SIGKILL to every tracee which has this bit set". Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Omar Sandoval <osandov@osandov.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
81ff736099
commit
14d6e62f12
|
@ -464,9 +464,9 @@ which are specified by the following flags:
|
|||
.TP
|
||||
.BR PTRACE_O_EXITKILL " (since Linux 3.8)"
|
||||
.\" commit 992fb6e170639b0849bace8e49bf31bd37c4123
|
||||
If a tracer sets this flag, a
|
||||
Send a
|
||||
.B SIGKILL
|
||||
signal will be sent to every tracee if the tracer exits.
|
||||
signal to the tracee if the tracer exits.
|
||||
This option is useful for ptrace jailers that
|
||||
want to ensure that tracees can never escape the tracer's control.
|
||||
.TP
|
||||
|
|
Loading…
Reference in New Issue