perf_counters: Increase paranoia level
authorIngo Molnar <[email protected]>
Fri, 28 Aug 2009 11:44:53 +0000 (13:44 +0200)
committerIngo Molnar <[email protected]>
Fri, 28 Aug 2009 11:44:53 +0000 (13:44 +0200)
commit6bb56347f5162d1a7cb1dc461023360781ecd4c0
treea2f1926c1ad68da16e05a2586645ca3de20ab7c5
parent326ba5010a5429a5a528b268b36a5900d4ab0eba
perf_counters: Increase paranoia level

Per-cpu counters are an ASLR information leak as they show
the execution other tasks do. Increase the paranoia level
to 1, which disallows per-cpu counters. (they still allow
counting/profiling of own tasks - and admin can profile
everything.)

Acked-by: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/perf_counter.c