From: Peter Zijlstra Date: Wed, 19 Aug 2009 09:18:26 +0000 (+0200) Subject: perf tools: Check perf.data owner X-Git-Tag: v2.6.31-rc8~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa6963b2481beff8b11f76006fbb63fdbbf2d2d7;p=pandora-kernel.git 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 Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <20090819092023.896648538@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed