]> granicus.if.org Git - strace/commit
Check whether PTRACE_GET_SYSCALL_INFO is supported by the kernel
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 21 Nov 2018 01:44:16 +0000 (01:44 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 13 Dec 2018 22:07:26 +0000 (22:07 +0000)
commit7488ce9e23f1915728c1d70fa584bc1108e2e584
treeaeff578ba10a85006e381291c6afb7ce15bd52ab
parent86d073674efd148fbc454d0b646619d8e6c66bde
Check whether PTRACE_GET_SYSCALL_INFO is supported by the kernel

The result of this check is going to be used by subsequent commits.

* ptrace_syscall_info.c: New file.
* ptrace_syscall_info.h: Likewise.
* Makefile.am (strace_SOURCES): Add them.
* strace.c: Include "ptrace_syscall_info.h".
(init): Call test_ptrace_get_syscall_info.
Makefile.am
ptrace_syscall_info.c [new file with mode: 0644]
ptrace_syscall_info.h [new file with mode: 0644]
strace.c