PT_OPT_FLAG_SHIFT 37 include/linux/ptrace.h #define PT_EVENT_FLAG(event) (1 << (PT_OPT_FLAG_SHIFT + (event))) PT_OPT_FLAG_SHIFT 47 include/linux/ptrace.h #define PT_EXITKILL (PTRACE_O_EXITKILL << PT_OPT_FLAG_SHIFT) PT_OPT_FLAG_SHIFT 48 include/linux/ptrace.h #define PT_SUSPEND_SECCOMP (PTRACE_O_SUSPEND_SECCOMP << PT_OPT_FLAG_SHIFT) PT_OPT_FLAG_SHIFT 376 kernel/ptrace.c flags = PT_PTRACED | PT_SEIZED | (flags << PT_OPT_FLAG_SHIFT); PT_OPT_FLAG_SHIFT 667 kernel/ptrace.c flags &= ~(PTRACE_O_MASK << PT_OPT_FLAG_SHIFT); PT_OPT_FLAG_SHIFT 668 kernel/ptrace.c flags |= (data << PT_OPT_FLAG_SHIFT);