Searched refs:is_capable (Results 1 – 1 of 1) sorted by relevance
12220 bool is_capable = perfmon_capable(); in perf_check_permission() local12228 is_capable &= ns_capable(__task_cred(task)->user_ns, CAP_KILL); in perf_check_permission()12244 return is_capable || ptrace_may_access(task, ptrace_mode); in perf_check_permission()