Date: Sun, 14 Aug 2011 07:48:51 -0700 From: "H. Peter Anvin" <hpa@...or.com> To: Solar Designer <solar@...nwall.com> CC: Andi Kleen <andi@...stfloor.org>, Vasiliy Kulikov <segoon@...nwall.com>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, James Morris <jmorris@...ei.org>, kernel-hardening@...ts.openwall.com, x86@...nel.org, linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org Subject: Re: [RFC] x86: restrict pid namespaces to 32 or 64 bit syscalls Solar Designer <solar@...nwall.com> wrote: >On Sat, Aug 13, 2011 at 10:08:57PM -0700, H. Peter Anvin wrote: >> Andi Kleen <andi@...stfloor.org> wrote: >> >> >Sounds to me a better alternative would be more aggressive, >pro-active >> >fuzzing of the compat calls. >[...] >> Agreed. Other than that, I can see a fine-grained permission filter, >but the compat vs noncompat axis is just spurious. > >In case anyone cares, I respectfully disagree. I am with Vasiliy on >this. I think that proactive fuzzing is great, but it is not an >alternative - we can also do both fuzzing and reduction of attack >surface at once. With Vasiliy reusing an existing check (in a future >revision of the patch), there's not going to be any performance impact. >Fine-grained restrictions would be great, but the 32- vs. 64-bit >restriction makes sense to me as well. I expect different systems to >use these different kinds of restrictions in different cases. > >We will definitely want to support x32 as well. We'd appreciate any >suggestions on how to do it best. > >Thanks, > >Alexander i386 vs x86-64 vs x32 is just one of many axes along which syscalls can be restricted (and for that matter, one axis if backward compatibility), and it does not make sense to burden the code with ad hoc filters. Designing a general filter facility which can be used to restrict any container to the subset of system calls it actually needs would make more sense, no? -- Sent from my mobile phone. Please excuse my brevity and lack of formatting.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.