Home
last modified time | relevance | path

Searched refs:CAP_SYS_PTRACE (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/security/yama/
H A Dyama_lsm.c371 !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 DYama.rst34 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 DSmack.rst299 ``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 Dcapability.h233 #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 Dcapability.h233 #define CAP_SYS_PTRACE 19 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dcapability.h235 #define CAP_SYS_PTRACE 19 macro
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dipc.c104 aad(sa)->error = aa_capable(&tracer->label, CAP_SYS_PTRACE, in profile_tracer_perm()
/OK3568_Linux_fs/kernel/kernel/
H A Dcapability.c526 ret = security_capable(cred, ns, CAP_SYS_PTRACE, in ptracer_capable()
H A Dptrace.c286 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 Dcommoncap.c149 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 Duserfaultfd.c1948 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 Dperf-security.rst90 processes provided with CAP_SYS_PTRACE capability are effectively
/OK3568_Linux_fs/kernel/security/smack/
H A Dsmack_lsm.c444 else if (smack_privileged_cred(CAP_SYS_PTRACE, tracercred)) in smk_ptrace_rule_check()