Searched refs:ptrace_may_access (Results 1 – 17 of 17) sorted by relevance
/linux-6.1.9/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 | 677 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 | 1404 !ptrace_may_access(task, mode)) { in mm_access()
|
/linux-6.1.9/fs/proc/ |
D | namespaces.c | 58 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()
|
D | base.c | 391 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()
|
D | fd.c | 83 allowed = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS); in proc_fdinfo_access_allowed()
|
D | array.c | 480 permitted = ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS | PTRACE_MODE_NOAUDIT); in do_task_stat()
|
/linux-6.1.9/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()
|
/linux-6.1.9/kernel/futex/ |
D | syscalls.c | 69 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/ |
D | ptrace.h | 88 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
|
/linux-6.1.9/mm/ |
D | migrate.c | 2010 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in find_mm_struct()
|
D | mempolicy.c | 1633 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) { in kernel_migrate_pages()
|
/linux-6.1.9/Documentation/process/ |
D | adding-syscalls.rst | 165 ``ptrace_may_access()``) so that only a calling process with the same
|
/linux-6.1.9/Documentation/translations/it_IT/process/ |
D | adding-syscalls.rst | 183 la chiamata ``ptrace_may_access()``) di modo che solo un processo chiamante
|
/linux-6.1.9/kernel/events/ |
D | core.c | 12200 return is_capable || ptrace_may_access(task, ptrace_mode); in perf_check_permission()
|