mirror of https://github.com/mkerrisk/man-pages
ptrace.2: Place GETSIGINFO and SETSIGINFO near each other
Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e16a265405
commit
ff01b23214
|
@ -255,18 +255,6 @@ On return, the kernel modifies
|
||||||
.B iov.len
|
.B iov.len
|
||||||
to indicate the actual number of bytes returned.
|
to indicate the actual number of bytes returned.
|
||||||
.TP
|
.TP
|
||||||
.BR PTRACE_GETSIGINFO " (since Linux 2.3.99-pre6)"
|
|
||||||
Retrieve information about the signal that caused the stop.
|
|
||||||
Copy a
|
|
||||||
.I siginfo_t
|
|
||||||
structure (see
|
|
||||||
.BR sigaction (2))
|
|
||||||
from the tracee to the address
|
|
||||||
.I data
|
|
||||||
in the tracer.
|
|
||||||
.RI ( addr
|
|
||||||
is ignored.)
|
|
||||||
.TP
|
|
||||||
.BR PTRACE_SETREGS ", " PTRACE_SETFPREGS
|
.BR PTRACE_SETREGS ", " PTRACE_SETFPREGS
|
||||||
Modify the tracee's general-purpose or floating-point registers,
|
Modify the tracee's general-purpose or floating-point registers,
|
||||||
respectively, from the address
|
respectively, from the address
|
||||||
|
@ -301,6 +289,18 @@ and
|
||||||
is analogous to
|
is analogous to
|
||||||
.BR PTRACE_GETREGSET .
|
.BR PTRACE_GETREGSET .
|
||||||
.TP
|
.TP
|
||||||
|
.BR PTRACE_GETSIGINFO " (since Linux 2.3.99-pre6)"
|
||||||
|
Retrieve information about the signal that caused the stop.
|
||||||
|
Copy a
|
||||||
|
.I siginfo_t
|
||||||
|
structure (see
|
||||||
|
.BR sigaction (2))
|
||||||
|
from the tracee to the address
|
||||||
|
.I data
|
||||||
|
in the tracer.
|
||||||
|
.RI ( addr
|
||||||
|
is ignored.)
|
||||||
|
.TP
|
||||||
.BR PTRACE_SETSIGINFO " (since Linux 2.3.99-pre6)"
|
.BR PTRACE_SETSIGINFO " (since Linux 2.3.99-pre6)"
|
||||||
Set signal information:
|
Set signal information:
|
||||||
copy a
|
copy a
|
||||||
|
|
Loading…
Reference in New Issue