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