From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Galois.linutronix.de (www.linutronix.de [62.245.132.108]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 55D60B6F98 for ; Wed, 25 May 2011 02:26:10 +1000 (EST) Date: Tue, 24 May 2011 18:25:28 +0200 (CEST) From: Thomas Gleixner To: Peter Zijlstra Subject: Re: [PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering In-Reply-To: <1306254027.18455.47.camel@twins> Message-ID: References: <20110513125452.GD3924@elte.hu> <1305292132.2466.26.camel@twins> <20110513131800.GA7883@elte.hu> <1305294935.2466.64.camel@twins> <20110513145737.GC32688@elte.hu> <1305563026.5456.19.camel@gandalf.stny.rr.com> <20110516165249.GB10929@elte.hu> <1305565422.5456.21.camel@gandalf.stny.rr.com> <20110517124212.GB21441@elte.hu> <1305637528.5456.723.camel@gandalf.stny.rr.com> <20110517131902.GF21441@elte.hu> <1305807728.11267.25.camel@gandalf.stny.rr.com> <1306254027.18455.47.camel@twins> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-mips@linux-mips.org, linux-sh@vger.kernel.org, Frederic Weisbecker , Heiko Carstens , Oleg Nesterov , David Howells , Paul Mackerras , Eric Paris , "H. Peter Anvin" , sparclinux@vger.kernel.org, Jiri Slaby , linux-s390@vger.kernel.org, Russell King , x86@kernel.org, James Morris , Linus Torvalds , Ingo Molnar , Ingo Molnar , "Serge E. Hallyn" , Steven Rostedt , Martin Schwidefsky , kees.cook@canonical.com, linux-arm-kernel , Michal Marek , Michal Simek , Will Drewry , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Ralf Baechle , Paul Mundt , Tejun Heo , linux390@de.ibm.com, Andrew Morton , agl@chromium.org, "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 24 May 2011, Peter Zijlstra wrote: > On Tue, 2011-05-24 at 10:59 -0500, Will Drewry wrote: > > include/linux/ftrace_event.h | 4 +- > > include/linux/perf_event.h | 10 +++++--- > > kernel/perf_event.c | 49 +++++++++++++++++++++++++++++++++++++--- > > kernel/seccomp.c | 8 ++++++ > > kernel/trace/trace_syscalls.c | 27 +++++++++++++++++----- > > 5 files changed, 82 insertions(+), 16 deletions(-) > > I strongly oppose to the perf core being mixed with any sekurity voodoo > (or any other active role for that matter). Amen. We have enough crap to cleanup in perf/ftrace already, so we really do not need security magic added to it. Thanks, tglx