Home
last modified time | relevance | path

Searched refs:has_ns_capability (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/include/linux/
Dcapability.h205 extern bool has_ns_capability(struct task_struct *t,
219 static inline bool has_ns_capability(struct task_struct *t, in has_ns_capability() function
/linux-6.1.9/kernel/
Dcapability.c294 bool has_ns_capability(struct task_struct *t, in has_ns_capability() function
318 return has_ns_capability(t, &init_user_ns, cap); in has_capability()
/linux-6.1.9/security/yama/
Dyama_lsm.c407 if (!has_ns_capability(parent, current_user_ns(), CAP_SYS_PTRACE)) in yama_ptrace_traceme()
/linux-6.1.9/security/
Dcommoncap.c182 if (has_ns_capability(parent, child_cred->user_ns, CAP_SYS_PTRACE)) in cap_ptrace_traceme()