diff options
author | Alexey Budankov <[email protected]> | 2020-08-05 10:56:56 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-08-06 15:03:20 +0200 |
commit | 45fd22da97c6125d8d0d35bd1791e7c0c4175279 (patch) | |
tree | 5329710d5f59f32fbe1fdc2edfaa083c71a7a13f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2324d50d051ec0f14a548e78554fb02513d6dcef (diff) |
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/[email protected]/
Signed-off-by: Alexey Budankov <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions