Home
last modified time | relevance | path

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

/linux-6.1.9/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.c677 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.c1404 !ptrace_may_access(task, mode)) { in mm_access()
/linux-6.1.9/fs/proc/
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()
Dbase.c391 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) in proc_pid_wchan()
411 if (!ptrace_may_access(task, PTRACE_MODE_ATTACH_FSCREDS)) { in lock_trace()
682 allowed = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in proc_fd_access_allowed()
720 return ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in has_pid_permissions()
726 return ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in has_pid_permissions()
2303 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) in proc_map_files_lookup()
2363 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) in proc_map_files_readdir()
2987 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) { in do_io_accounting()
Dfd.c83 allowed = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in proc_fdinfo_access_allowed()
Darray.c480 permitted = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS | PTRACE_MODE_NOAUDIT); in do_task_stat()
/linux-6.1.9/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()
/linux-6.1.9/kernel/futex/
Dsyscalls.c69 if (!ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS)) in SYSCALL_DEFINE3()
341 if (!ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS)) in COMPAT_SYSCALL_DEFINE3()
/linux-6.1.9/include/linux/
Dptrace.h88 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
/linux-6.1.9/mm/
Dmigrate.c2010 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in find_mm_struct()
Dmempolicy.c1633 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in kernel_migrate_pages()
/linux-6.1.9/Documentation/process/
Dadding-syscalls.rst165 ``ptrace_may_access()``) so that only a calling process with the same
/linux-6.1.9/Documentation/translations/it_IT/process/
Dadding-syscalls.rst183 la chiamata ``ptrace_may_access()``) di modo che solo un processo chiamante
/linux-6.1.9/kernel/events/
Dcore.c12200 return is_capable || ptrace_may_access(task, ptrace_mode); in perf_check_permission()