Home
last modified time | relevance | path

Searched refs:PT_OPT_FLAG_SHIFT (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dptrace.h35 #define PT_OPT_FLAG_SHIFT 3 macro
37 #define PT_EVENT_FLAG(event) (1 << (PT_OPT_FLAG_SHIFT + (event)))
47 #define PT_EXITKILL (PTRACE_O_EXITKILL << PT_OPT_FLAG_SHIFT)
48 #define PT_SUSPEND_SECCOMP (PTRACE_O_SUSPEND_SECCOMP << PT_OPT_FLAG_SHIFT)
/kernel/linux/linux-5.10/kernel/
Dptrace.c414 flags = PT_PTRACED | PT_SEIZED | (flags << PT_OPT_FLAG_SHIFT); in ptrace_attach()
694 flags &= ~(PTRACE_O_MASK << PT_OPT_FLAG_SHIFT); in ptrace_setoptions()
695 flags |= (data << PT_OPT_FLAG_SHIFT); in ptrace_setoptions()