Skip to content

Commit

Permalink
Set perf_event_paranoid to -1
Browse files Browse the repository at this point in the history
Set perf_event_paranoid to -1 as user requested.

See [1] for implications.

Security implication seems to be limited to information leak from kernel
and "unfair" usage of memory available for perf data between users. So
its no big deal.

[1]: https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html
  • Loading branch information
donald committed Dec 19, 2020
1 parent d23973e commit 1d1e3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc_etc_files/sysctl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ kernel.shmall = 34359738368

# user request: Allow CPU event access by users without CAP_SYS_ADMIN

kernel.perf_event_paranoid = 1
kernel.perf_event_paranoid = -1

0 comments on commit 1d1e3ae

Please sign in to comment.