Searched refs:CAP_SYS_PTRACE (Results 1 – 13 of 13) sorted by relevance
| /OK3568_Linux_fs/kernel/security/yama/ |
| H A D | yama_lsm.c | 371 !ns_capable(__task_cred(child)->user_ns, CAP_SYS_PTRACE)) in yama_ptrace_access_check() 377 if (!ns_capable(__task_cred(child)->user_ns, CAP_SYS_PTRACE)) in yama_ptrace_access_check() 407 if (!has_ns_capability(parent, current_user_ns(), CAP_SYS_PTRACE)) in yama_ptrace_traceme() 437 if (write && !capable(CAP_SYS_PTRACE)) in yama_dointvec_minmax()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/LSM/ |
| H A D | Yama.rst | 34 work), or with ``CAP_SYS_PTRACE`` (i.e. "gdb --pid=PID", and "strace -p PID" 49 The sysctl settings (writable only with ``CAP_SYS_PTRACE``) are: 68 only processes with ``CAP_SYS_PTRACE`` may use ptrace, either with
|
| H A D | Smack.rst | 299 ``PTRACE_READ`` is not affected. Can be overridden with ``CAP_SYS_PTRACE``. 303 exception that it can't be overridden with ``CAP_SYS_PTRACE``.
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | capability.h | 233 #define CAP_SYS_PTRACE 19 macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | capability.h | 233 #define CAP_SYS_PTRACE 19 macro
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | capability.h | 235 #define CAP_SYS_PTRACE 19 macro
|
| /OK3568_Linux_fs/kernel/security/apparmor/ |
| H A D | ipc.c | 104 aad(sa)->error = aa_capable(&tracer->label, CAP_SYS_PTRACE, in profile_tracer_perm()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | capability.c | 526 ret = security_capable(cred, ns, CAP_SYS_PTRACE, in ptracer_capable()
|
| H A D | ptrace.c | 286 return ns_capable_noaudit(ns, CAP_SYS_PTRACE); in ptrace_has_cap() 287 return ns_capable(ns, CAP_SYS_PTRACE); in ptrace_has_cap()
|
| /OK3568_Linux_fs/kernel/security/ |
| H A D | commoncap.c | 149 if (ns_capable(child_cred->user_ns, CAP_SYS_PTRACE)) in cap_ptrace_access_check() 181 if (has_ns_capability(parent, child_cred->user_ns, CAP_SYS_PTRACE)) in cap_ptrace_traceme()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | userfaultfd.c | 1948 if ((features & UFFD_FEATURE_EVENT_FORK) && !capable(CAP_SYS_PTRACE)) in userfaultfd_api() 2073 !capable(CAP_SYS_PTRACE)) { in SYSCALL_DEFINE1()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | perf-security.rst | 90 processes provided with CAP_SYS_PTRACE capability are effectively
|
| /OK3568_Linux_fs/kernel/security/smack/ |
| H A D | smack_lsm.c | 444 else if (smack_privileged_cred(CAP_SYS_PTRACE, tracercred)) in smk_ptrace_rule_check()
|