Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dkcmp.c165 if (!ptrace_may_access(task1, PTRACE_MODE_READ_REALCREDS) || in SYSCALL_DEFINE5()
166 !ptrace_may_access(task2, PTRACE_MODE_READ_REALCREDS)) { in SYSCALL_DEFINE5()
Dnsproxy.c392 if (!ptrace_may_access(tsk, PTRACE_MODE_READ_REALCREDS)) { in validate_nsset()
Dpid.c680 if (ptrace_may_access(task, PTRACE_MODE_ATTACH_REALCREDS)) in __pidfd_fget()
Dptrace.c349 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access() function
Dfork.c1550 !ptrace_may_access(task, mode)) { in mm_access()
/linux-6.12.1/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.c428 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) in proc_pid_wchan()
448 if (!ptrace_may_access(task, PTRACE_MODE_ATTACH_FSCREDS)) { in lock_trace()
719 allowed = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in proc_fd_access_allowed()
756 return ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in has_pid_permissions()
762 return ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in has_pid_permissions()
2355 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) in proc_map_files_lookup()
2415 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) in proc_map_files_readdir()
3039 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) { in do_io_accounting()
Dfd.c94 allowed = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in proc_fdinfo_permission()
Darray.c490 permitted = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS | PTRACE_MODE_NOAUDIT); in do_task_stat()
/linux-6.12.1/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.12.1/kernel/futex/
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-6.12.1/include/linux/
Dptrace.h88 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
/linux-6.12.1/fs/
Dpidfs.c144 if (!ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) in pidfd_ioctl()
/linux-6.12.1/mm/
Dmigrate.c2512 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in find_mm_struct()
Dmempolicy.c1678 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in kernel_migrate_pages()
/linux-6.12.1/Documentation/process/
Dadding-syscalls.rst165 ``ptrace_may_access()``) so that only a calling process with the same
/linux-6.12.1/Documentation/translations/it_IT/process/
Dadding-syscalls.rst183 la chiamata ``ptrace_may_access()``) di modo che solo un processo chiamante
/linux-6.12.1/Documentation/translations/sp_SP/process/
Dadding-syscalls.rst187 a ``ptrace_may_access()``) de forma que el único proceso con los mismos
/linux-6.12.1/kernel/events/
Dcore.c12645 return is_capable || ptrace_may_access(task, ptrace_mode); in perf_check_permission()