strace/xlat/ptrace_cmds.in
Eugene Syromyatnikov fd02ce4ff8 Implement PTRACE_SECCOMP_GET_METADATA ptrace request decoding
* defs.h (seccomp_filter_flags): New declaration.
* process.c (SYS_FUNC(ptrace)): Implement PTRACE_SECCOMP_GET_METADATA
request decoding.
* ptrace.h [!PTRACE_SECCOMP_GET_METADATA] (PTRACE_SECCOMP_GET_METADATA):
New macro constant.
* xlat/ptrace_cmds.in (PTRACE_SECCOMP_GET_METADATA): New constant.
* tests/ptrace.c (main): Add some checks for PTRACE_SECCOMP_GET_METADATA
request decoding.
* NEWS: Mention it.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-03-06 23:52:08 +00:00

108 lines
1.9 KiB
Plaintext

PTRACE_TRACEME
PTRACE_PEEKTEXT
PTRACE_PEEKDATA
PTRACE_PEEKUSER
PTRACE_POKETEXT
PTRACE_POKEDATA
PTRACE_POKEUSER
PTRACE_CONT
PTRACE_KILL
PTRACE_SINGLESTEP
PTRACE_ATTACH
PTRACE_DETACH
PTRACE_SYSCALL
PTRACE_GETREGS
PTRACE_SETREGS
PTRACE_GETFPREGS
PTRACE_SETFPREGS
PTRACE_GETFPXREGS
PTRACE_SETFPXREGS
PTRACE_GETVRREGS
PTRACE_SETVRREGS
PTRACE_SETOPTIONS
PTRACE_GETEVENTMSG
PTRACE_GETSIGINFO
PTRACE_SETSIGINFO
PTRACE_GETREGSET
PTRACE_SETREGSET
PTRACE_SET_SYSCALL
PTRACE_SEIZE
PTRACE_INTERRUPT
PTRACE_LISTEN
PTRACE_PEEKSIGINFO
PTRACE_GETSIGMASK
PTRACE_SETSIGMASK
PTRACE_SECCOMP_GET_FILTER
PTRACE_SECCOMP_GET_METADATA
/* arch-specific */
PTRACE_GET_THREAD_AREA
PTRACE_SET_THREAD_AREA
PTRACE_OLDSETOPTIONS
PTRACE_GETFDPIC
PTRACE_SINGLEBLOCK
/* arm */
PTRACE_GETWMMXREGS
PTRACE_SETWMMXREGS
PTRACE_GETCRUNCHREGS
PTRACE_SETCRUNCHREGS
PTRACE_GETVFPREGS
PTRACE_SETVFPREGS
PTRACE_GETHBPREGS
PTRACE_SETHBPREGS
/* ia64 */
PTRACE_OLD_GETSIGINFO
PTRACE_OLD_SETSIGINFO
/* mips */
PTRACE_PEEKTEXT_3264
PTRACE_PEEKDATA_3264
PTRACE_POKETEXT_3264
PTRACE_POKEDATA_3264
PTRACE_GET_THREAD_AREA_3264
PTRACE_GET_WATCH_REGS
PTRACE_SET_WATCH_REGS
/* powerpc */
PTRACE_GETEVRREGS
PTRACE_SETEVRREGS
PTRACE_GETVSRREGS
PTRACE_SETVSRREGS
PTRACE_GET_DEBUGREG
PTRACE_SET_DEBUGREG
PPC_PTRACE_GETHWDBGINFO
PPC_PTRACE_SETHWDEBUG
PPC_PTRACE_DELHWDEBUG
/* s390 */
PTRACE_PEEKUSR_AREA
PTRACE_POKEUSR_AREA
PTRACE_PEEKTEXT_AREA
PTRACE_PEEKDATA_AREA
PTRACE_POKETEXT_AREA
PTRACE_POKEDATA_AREA
PTRACE_GET_LAST_BREAK
PTRACE_PEEK_SYSTEM_CALL
PTRACE_POKE_SYSTEM_CALL
PTRACE_ENABLE_TE
PTRACE_DISABLE_TE
PTRACE_TE_ABORT_RAND
/* sh */
PTRACE_GETDSPREGS
PTRACE_SETDSPREGS
/* sparc */
PTRACE_SPARC_DETACH
PTRACE_READDATA
PTRACE_WRITEDATA
PTRACE_READTEXT
PTRACE_WRITETEXT
PTRACE_GETFPAREGS
PTRACE_SETFPAREGS
PTRACE_GETREGS64
PTRACE_SETREGS64
PTRACE_GETFPREGS64
PTRACE_SETFPREGS64
/* x86 */
PTRACE_ARCH_PRCTL
PTRACE_SYSEMU
PTRACE_SYSEMU_SINGLESTEP
/* xtensa */
PTRACE_GETXTREGS
PTRACE_SETXTREGS