[PATCH linux-next 0/2] Fix perf security check problem

From: Luo Gengkun
Date: Mon Dec 23 2024 - 01:58:08 EST


From: Luo Gengkun <luogengkun2@xxxxxxxxxx>


Luo Gengkun (2):
perf: Remove unnecessary parameter of security check
perf: Return EACCESS when need perfmon capability

arch/x86/events/intel/bts.c | 2 +-
arch/x86/events/intel/core.c | 2 +-
arch/x86/events/intel/p4.c | 2 +-
drivers/perf/arm_spe_pmu.c | 4 ++--
include/linux/lsm_hook_defs.h | 2 +-
include/linux/perf_event.h | 12 ++++++------
include/linux/security.h | 5 ++---
kernel/events/core.c | 14 +++++++-------
kernel/trace/trace_event_perf.c | 4 ++--
security/security.c | 5 ++---
security/selinux/hooks.c | 2 +-
11 files changed, 26 insertions(+), 28 deletions(-)

--
2.34.1