Searched refs:ptrace_may_access (Results 1 – 8 of 8) sorted by relevance
/kernel/ |
D | kcmp.c | 163 if (!ptrace_may_access(task1, PTRACE_MODE_READ_REALCREDS) || in SYSCALL_DEFINE5() 164 !ptrace_may_access(task2, PTRACE_MODE_READ_REALCREDS)) { in SYSCALL_DEFINE5()
|
D | nsproxy.c | 373 if (!ptrace_may_access(tsk, PTRACE_MODE_READ_REALCREDS)) { in validate_nsset()
|
D | pid.c | 678 if (ptrace_may_access(task, PTRACE_MODE_ATTACH_REALCREDS)) in __pidfd_fget()
|
D | ptrace.c | 359 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access() function
|
D | fork.c | 1516 !ptrace_may_access(task, mode)) { in mm_access()
|
/kernel/sched/ |
D | core_sched.c | 165 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/ |
D | syscalls.c | 70 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/ |
D | core.c | 12255 return is_capable || ptrace_may_access(task, ptrace_mode); in perf_check_permission()
|