Searched refs:ptrace_has_cap (Results 1 – 1 of 1) sorted by relevance
216 static int ptrace_has_cap(struct user_namespace *ns, unsigned int mode) in ptrace_has_cap() function276 if (ptrace_has_cap(tcred->user_ns, mode)) in __ptrace_may_access()287 !ptrace_has_cap(__task_cred(task)->user_ns, mode)) { in __ptrace_may_access()