From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH] kconfig: consolidate arch-specific seccomp options Date: Thu, 30 Jan 2014 20:15:14 +1100 Message-ID: <1391073314.8524.115.camel@pasglop> References: <20140129191011.8FB63DFA@viggo.jf.intel.com> <20140130085551.GB2024@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140130085551.GB2024@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Ingo Molnar Cc: Dave Hansen , linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, linux-security-module@vger.kernel.org, linux-arch@vger.kernel.org, sfr@canb.auug.org.au, zohar@linux.vnet.ibm.com, linux@arm.linux.org.uk, monstr@monstr.eu, ralf@linux-mips.org, paulus@samba.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, lethal@linux-sh.org, x86@kernel.org, james.l.morris@oracle.com List-Id: linux-arch.vger.kernel.org On Thu, 2014-01-30 at 09:55 +0100, Ingo Molnar wrote: > * Dave Hansen wrote: > > From: Dave Hansen > > > > There are 7 architecures with "config SECCOMP". They all have > > virtually the same help text except for those referencing the > > /proc interface. The /proc interface was removed in 2007. > > > > There is *NOTHING* architecture-specific about SECCOMP except > > that the syscalls have per-architecture definitions, like every > > other syscall. It is absurd to have the option in the > > arch-specific menus. > > > > Move it to the security menu, consolidate the 7 down to one, and > > remove the embarassingly-ancient help text references and > > dependencies on /proc. > > > > Signed-off-by: Dave Hansen > > Cc: linux-security-module@vger.kernel.org > > Cc: linux-arch@vger.kernel.org > > Cc: Stephen Rothwell > > Cc: Mimi Zohar > > Cc: Russell King > > Cc: Michal Simek > > Cc: Ralf Baechle For powerpc: Acked-by: Benjamin Herrenschmidt From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:52443 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbaA3JTc (ORCPT ); Thu, 30 Jan 2014 04:19:32 -0500 Message-ID: <1391073314.8524.115.camel@pasglop> Subject: Re: [PATCH] kconfig: consolidate arch-specific seccomp options From: Benjamin Herrenschmidt Date: Thu, 30 Jan 2014 20:15:14 +1100 In-Reply-To: <20140130085551.GB2024@gmail.com> References: <20140129191011.8FB63DFA@viggo.jf.intel.com> <20140130085551.GB2024@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Ingo Molnar Cc: Dave Hansen , linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, linux-security-module@vger.kernel.org, linux-arch@vger.kernel.org, sfr@canb.auug.org.au, zohar@linux.vnet.ibm.com, linux@arm.linux.org.uk, monstr@monstr.eu, ralf@linux-mips.org, paulus@samba.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, lethal@linux-sh.org, x86@kernel.org, james.l.morris@oracle.com Message-ID: <20140130091514.endBwaxj_T2utHGT5niPTcJdTrcgLJGz2f9faU1B2nw@z> On Thu, 2014-01-30 at 09:55 +0100, Ingo Molnar wrote: > * Dave Hansen wrote: > > From: Dave Hansen > > > > There are 7 architecures with "config SECCOMP". They all have > > virtually the same help text except for those referencing the > > /proc interface. The /proc interface was removed in 2007. > > > > There is *NOTHING* architecture-specific about SECCOMP except > > that the syscalls have per-architecture definitions, like every > > other syscall. It is absurd to have the option in the > > arch-specific menus. > > > > Move it to the security menu, consolidate the 7 down to one, and > > remove the embarassingly-ancient help text references and > > dependencies on /proc. > > > > Signed-off-by: Dave Hansen > > Cc: linux-security-module@vger.kernel.org > > Cc: linux-arch@vger.kernel.org > > Cc: Stephen Rothwell > > Cc: Mimi Zohar > > Cc: Russell King > > Cc: Michal Simek > > Cc: Ralf Baechle For powerpc: Acked-by: Benjamin Herrenschmidt