Loading kernel/events/core.c +3 −0 Original line number Diff line number Diff line Loading @@ -7348,6 +7348,9 @@ SYSCALL_DEFINE5(perf_event_open, if (err) return err; if (attr.constraint_duplicate || attr.__reserved_1) return -EINVAL; if (!attr.exclude_kernel) { if (perf_paranoid_kernel() && !capable(CAP_SYS_ADMIN)) return -EACCES; Loading Loading
kernel/events/core.c +3 −0 Original line number Diff line number Diff line Loading @@ -7348,6 +7348,9 @@ SYSCALL_DEFINE5(perf_event_open, if (err) return err; if (attr.constraint_duplicate || attr.__reserved_1) return -EINVAL; if (!attr.exclude_kernel) { if (perf_paranoid_kernel() && !capable(CAP_SYS_ADMIN)) return -EACCES; Loading