perf_counter: Require CAP_SYS_ADMIN for raw tracepoint data
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 10 Aug 2009 09:20:12 +0000 (11:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 10 Aug 2009 09:33:09 +0000 (11:33 +0200)
commita4e95fc2cbb31d70a65beffeaf8773f881328c34
treec0a00094c9c38bad5e09fd19fe23521c361177d7
parenta044560c3a1f0ad75ce685c1ed7604820b9ed319
perf_counter: Require CAP_SYS_ADMIN for raw tracepoint data

Raw tracepoint data contains various kernel internals and
data from other users, so restrict this to CAP_SYS_ADMIN.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1249896452.17467.75.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c