Home
last modified time | relevance | path

Searched refs:ptrace_may_access (Results 1 – 8 of 8) sorted by relevance

/kernel/
Dkcmp.c163 if (!ptrace_may_access(task1, PTRACE_MODE_READ_REALCREDS) || in SYSCALL_DEFINE5()
164 !ptrace_may_access(task2, PTRACE_MODE_READ_REALCREDS)) { in SYSCALL_DEFINE5()
Dnsproxy.c373 if (!ptrace_may_access(tsk, PTRACE_MODE_READ_REALCREDS)) { in validate_nsset()
Dpid.c678 if (ptrace_may_access(task, PTRACE_MODE_ATTACH_REALCREDS)) in __pidfd_fget()
Dptrace.c359 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access() function
Dfork.c1516 !ptrace_may_access(task, mode)) { in mm_access()
/kernel/sched/
Dcore_sched.c165 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in sched_core_share_pid()
219 if (!ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS)) { in sched_core_share_pid()
/kernel/futex/
Dsyscalls.c70 if (!ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS)) in SYSCALL_DEFINE3()
343 if (!ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS)) in COMPAT_SYSCALL_DEFINE3()
/kernel/events/
Dcore.c12255 return is_capable || ptrace_may_access(task, ptrace_mode); in perf_check_permission()