Disallowing perf_event_open()
Disallowing perf_event_open()
Posted Aug 4, 2016 12:52 UTC (Thu) by deater (subscriber, #11746)Parent article: Disallowing perf_event_open()
At the same time, the perf_fuzzer can still reliably crash any x86 machine within a few hours despite years of trying to get that fixed, so it probably is a good idea to provide a way to block the syscall.
I see both sides of the issue here, as having perf_event disabled by default is really going to cause annoyance for high-performance computing users (it hasn't started problems yet because most users aren't using Debian). If you start requiring root or sysadmin action in order for perf to work, people are going to go back to skipping perf altogether for tools like LIKWID (they also usually require root or sysadmin intervention).