summaryrefslogtreecommitdiffstats
path: root/include/linux/bitops.h
diff options
context:
space:
mode:
authorAlexey Budankov <alexey.budankov@linux.intel.com>2020-08-05 10:56:56 +0300
committerIngo Molnar <mingo@kernel.org>2020-08-06 15:03:20 +0200
commit45fd22da97c6125d8d0d35bd1791e7c0c4175279 (patch)
tree5329710d5f59f32fbe1fdc2edfaa083c71a7a13f /include/linux/bitops.h
parent2324d50d051ec0f14a548e78554fb02513d6dcef (diff)
downloadlinux-stable-45fd22da97c6125d8d0d35bd1791e7c0c4175279.tar.gz
linux-stable-45fd22da97c6125d8d0d35bd1791e7c0c4175279.tar.bz2
linux-stable-45fd22da97c6125d8d0d35bd1791e7c0c4175279.zip
perf/core: Take over CAP_SYS_PTRACE creds to CAP_PERFMON capability
Open access to per-process monitoring for CAP_PERFMON only privileged processes [1]. Extend ptrace_may_access() check in perf_events subsystem with perfmon_capable() to simplify user experience and make monitoring more secure by reducing attack surface. [1] https://lore.kernel.org/lkml/7776fa40-6c65-2aa6-1322-eb3a01201000@linux.intel.com/ Signed-off-by: Alexey Budankov <alexey.budankov@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/6e8392ff-4732-0012-2949-e1587709f0f6@linux.intel.com
Diffstat (limited to 'include/linux/bitops.h')
0 files changed, 0 insertions, 0 deletions