Home
last modified time | relevance | path

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

/linux/fs/proc/
H A Dnamespaces.c58 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) in proc_ns_get_link()
83 if (ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) { in proc_ns_readlink()
H A Dfd.c94 allowed = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in proc_fdinfo_permission()
H A Darray.c490 permitted = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS | PTRACE_MODE_NOAUDIT); in do_task_stat()
/linux/kernel/sched/
H A 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()
/linux/kernel/futex/
H A Dsyscalls.c68 if (!ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS)) in SYSCALL_DEFINE3()
474 if (!ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS)) in COMPAT_SYSCALL_DEFINE3()
/linux/include/linux/
H A Dptrace.h88 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
/linux/kernel/
H A Dnsproxy.c392 if (!ptrace_may_access(tsk, PTRACE_MODE_READ_REALCREDS)) { in validate_nsset()
H A Dpid.c677 if (ptrace_may_access(task, PTRACE_MODE_ATTACH_REALCREDS)) in __pidfd_fget()
H A Dptrace.c349 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access() function
H A Dfork.c1565 } else if (mm != current->mm && !ptrace_may_access(task, mode)) { in mm_access()
/linux/mm/
H A Dmigrate.c2513 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in find_mm_struct()
H A Dmempolicy.c1682 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in kernel_migrate_pages()
/linux/Documentation/process/
H A Dadding-syscalls.rst165 ``ptrace_may_access()``) so that only a calling process with the same
/linux/Documentation/translations/it_IT/process/
H A Dadding-syscalls.rst183 la chiamata ``ptrace_may_access()``) di modo che solo un processo chiamante
/linux/Documentation/translations/sp_SP/process/
H A Dadding-syscalls.rst187 a ``ptrace_may_access()``) de forma que el único proceso con los mismos
/linux/kernel/events/
H A Dcore.c12709 return is_capable || ptrace_may_access(task, ptrace_mode); in perf_check_permission()