PT_EVENT_FLAG 27 include/linux/ptrace.h #define PT_TRACESYSGOOD PT_EVENT_FLAG(0) PT_EVENT_FLAG 28 include/linux/ptrace.h #define PT_TRACE_FORK PT_EVENT_FLAG(PTRACE_EVENT_FORK) PT_EVENT_FLAG 29 include/linux/ptrace.h #define PT_TRACE_VFORK PT_EVENT_FLAG(PTRACE_EVENT_VFORK) PT_EVENT_FLAG 30 include/linux/ptrace.h #define PT_TRACE_CLONE PT_EVENT_FLAG(PTRACE_EVENT_CLONE) PT_EVENT_FLAG 31 include/linux/ptrace.h #define PT_TRACE_EXEC PT_EVENT_FLAG(PTRACE_EVENT_EXEC) PT_EVENT_FLAG 32 include/linux/ptrace.h #define PT_TRACE_VFORK_DONE PT_EVENT_FLAG(PTRACE_EVENT_VFORK_DONE) PT_EVENT_FLAG 33 include/linux/ptrace.h #define PT_TRACE_EXIT PT_EVENT_FLAG(PTRACE_EVENT_EXIT) PT_EVENT_FLAG 34 include/linux/ptrace.h #define PT_TRACE_SECCOMP PT_EVENT_FLAG(PTRACE_EVENT_SECCOMP) PT_EVENT_FLAG 107 include/linux/ptrace.h return task->ptrace & PT_EVENT_FLAG(event);