diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-08-19 13:18:26 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-19 17:25:51 +0400 |
commit | fa6963b2481beff8b11f76006fbb63fdbbf2d2d7 (patch) | |
tree | 001ec6fcaf0524ba07d950c1d983722513fff73a /kernel/perf_counter.c | |
parent | b395cd8a74b4a8d943dd4b5585e676f62f7350b3 (diff) | |
download | linux-fa6963b2481beff8b11f76006fbb63fdbbf2d2d7.tar.xz |
perf tools: Check perf.data owner
Add an owner check to opening perf.data files and a switch to
silence it.
Because perf-report/perf-annotate are binary parsers reading
another users' perf.data file could be a security risk if the
file were explicitly engineered to trigger bugs in the parser
(we hope of course there are non such bugs, but you never
know).
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20090819092023.896648538@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_counter.c')
0 files changed, 0 insertions, 0 deletions