ptrace: unify flags PT_TRACE_SYSCALL_ENTER and PT_TRACE_SYSCALL_EXIT to PT_TRACE_SYSCALL

refs #961
This commit is contained in:
Tomoki Shirasawa
2017-10-11 15:43:57 +09:00
parent 6b60dee890
commit 99da5b6484
4 changed files with 11 additions and 30 deletions

View File

@ -78,9 +78,7 @@
// struct process.ptrace
#define PT_TRACED 0x80 /* The process is ptraced */
#define PT_TRACE_EXEC 0x100 /* Trace execve(2) */
#define PT_TRACE_SYSCALL_ENTER 0x200 /* Trace syscall enter */
#define PT_TRACE_SYSCALL_EXIT 0x400 /* Trace syscall exit */
#define PT_TRACE_SYSCALL_MASK (PT_TRACE_SYSCALL_ENTER | PT_TRACE_SYSCALL_EXIT)
#define PT_TRACE_SYSCALL 0x200 /* Trace syscall enter */
// ptrace(2) request
#define PTRACE_TRACEME 0