From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [REVIEW][PATCH 0/43] Completing the user namespace Date: Tue, 10 Apr 2012 18:14:15 -0700 Message-ID: References: <4F84838B.8000408@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Markus Gutschke , Will Drewry , Cyrill Gorcunov , linux-security-module@vger.kernel.org, Al Viro , linux-fsdevel@vger.kernel.org, Andrew Morton , Linus Torvalds To: Andrew Lutomirski Return-path: In-Reply-To: (Andrew Lutomirski's message of "Tue, 10 Apr 2012 18:00:59 -0700") Sender: linux-security-module-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Andrew Lutomirski writes: > On Tue, Apr 10, 2012 at 6:01 PM, Eric W. Biederman > wrote: > Sounds like you're reinventing (something very similar to) > no_new_privs. Why not just require no_new_privs as a prerequisite for > creating a user namespace if you're unprivileged? As I said in the part of my email you snipped, because no_new_privs will break suid exec in the user namespace. I am most definitely not going to require something that will make implementing/using user namespaces almost pointless. Eric