Home
last modified time | relevance | path

Searched refs:CAP_PERFMON (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dcap.h32 #ifndef CAP_PERFMON
33 #define CAP_PERFMON 38 macro
H A Dutil.c293 perf_cap__capable(CAP_PERFMON) || in perf_event_paranoid_check()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dperf-security.rst69 Unprivileged processes with enabled CAP_PERFMON capability are treated
72 checks in the kernel. CAP_PERFMON implements the principle of least
80 use cases is discouraged with respect to the CAP_PERFMON capability.
82 API contain denial records of acquiring both CAP_PERFMON and CAP_SYS_ADMIN
83 capabilities then providing the process with CAP_PERFMON capability singly
147 Using a libcap without support for CAP_PERFMON will make cap_get_flag(caps, 38,
155 To get kernel and user samples with a perf binary with just CAP_PERFMON.
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dcapability.h379 #define CAP_PERFMON 38 macro
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dsecurity.txt131 can be limited for superuser or CAP_PERFMON or CAP_SYS_ADMIN privileged
144 without CAP_PERFMON or CAP_SYS_ADMIN Linux capability.
H A Dperf-intel-pt.txt733 which in turn requires CAP_PERFMON or CAP_SYS_ADMIN.
/OK3568_Linux_fs/kernel/include/linux/
H A Dcapability.h256 return capable(CAP_PERFMON) || capable(CAP_SYS_ADMIN); in perfmon_capable()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/sysctl/
H A Dkernel.rst842 users (without CAP_PERFMON). The default value is 2.
848 with respect to CAP_PERFMON use cases.
857 ``CAP_PERFMON``.
859 Disallow raw tracepoint access by users without ``CAP_PERFMON``.
861 >=1 Disallow CPU event access by users without ``CAP_PERFMON``.
863 >=2 Disallow kernel profiling by users without ``CAP_PERFMON``.
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dfeature.c786 capability(CAP_PERFMON), in handle_perms()
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-ftrace.c577 if (!(perf_cap__capable(CAP_PERFMON) || in __cmd_ftrace()
H A Ddesign.txt261 all events on CPU-x. Per CPU counters need CAP_PERFMON or CAP_SYS_ADMIN