mirror of https://github.com/mkerrisk/man-pages
ptrace.2: Document PTRACE_SET_SYSCALL
Signed-off-by: Joseph C. Sible <josephcsible@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
84eb2279b1
commit
c2254484e3
|
@ -733,6 +733,22 @@ argument is treated as for
|
|||
.RI ( addr
|
||||
is ignored.)
|
||||
.TP
|
||||
.BR PTRACE_SET_SYSCALL " (since Linux 2.6.16)"
|
||||
.\" commit 3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f
|
||||
When in syscall-enter-stop, change the number of the syscall about to
|
||||
be executed to the number specified in the
|
||||
.I data
|
||||
argument. The
|
||||
.I addr
|
||||
argument is ignored. This request is currently
|
||||
.\" As of 4.19-rc2
|
||||
supported only on arm (and arm64, though only for backwards compatibility),
|
||||
.\" commit 27aa55c5e5123fa8b8ad0156559d34d7edff58ca
|
||||
but most other architectures have other means of accomplishing this
|
||||
(usually by changing the register that the userland code passed the
|
||||
syscall number in).
|
||||
.\" see change_syscall in tools/testing/selftests/seccomp/seccomp_bpf.c
|
||||
.TP
|
||||
.BR PTRACE_SYSEMU ", " PTRACE_SYSEMU_SINGLESTEP " (since Linux 2.6.14)"
|
||||
For
|
||||
.BR PTRACE_SYSEMU ,
|
||||
|
|
Loading…
Reference in New Issue