]> granicus.if.org Git - strace/commit
Implement PTRACE_GET_SYSCALL_INFO decoder
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 13 Dec 2018 22:07:26 +0000 (22:07 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 13 Dec 2018 22:07:26 +0000 (22:07 +0000)
commit7273c6fb3c08fbcb25e452406e7f69d05d1a84e1
tree4edd38a2613371ba638063df1e375d40f81e0830
parente3b80cb65fd50c4e377a01e780b7a46ce4ebb2e7
Implement PTRACE_GET_SYSCALL_INFO decoder

* defs.h (audit_arch): New prototype.
* process.c: Include "ptrace_syscall_info.h".
(SYS_FUNC(ptrace)) <PTRACE_GET_SYSCALL_INFO>: Call
print_ptrace_syscall_info on exiting syscall.
* ptrace_syscall_info.h (print_ptrace_syscall_info): New prototype.
* ptrace_syscall_info.c: Include "print_fields.h" and
"xlat/ptrace_syscall_info_op.h".
(print_ptrace_syscall_info): New function.
* xlat/ptrace_syscall_info_op.in: New file.
* tests/ptrace_syscall_info.c: New file.
* tests/gen_tests.in (ptrace_syscall_info): New test.
* tests/pure_executables.list: Add ptrace_syscall_info.
* tests/.gitignore: Likewise.
defs.h
process.c
ptrace_syscall_info.c
ptrace_syscall_info.h
tests/.gitignore
tests/gen_tests.in
tests/ptrace_syscall_info.c [new file with mode: 0644]
tests/pure_executables.list
xlat/ptrace_syscall_info_op.in [new file with mode: 0644]