From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932362Ab2LNUpN (ORCPT ); Fri, 14 Dec 2012 15:45:13 -0500 Received: from 50-56-35-84.static.cloud-ips.com ([50.56.35.84]:41000 "EHLO mail.hallyn.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932241Ab2LNUpK (ORCPT ); Fri, 14 Dec 2012 15:45:10 -0500 Date: Fri, 14 Dec 2012 20:50:20 +0000 From: "Serge E. Hallyn" To: Linus Torvalds Cc: "Eric W. Biederman" , "Serge E. Hallyn" , containers@lists.linux-foundation.org, Linux Kernel Mailing List , Andy Lutomirski , LSM List Subject: Re: [RFC][PATCH] Fix cap_capable to only allow owners in the parent user namespace to have caps. Message-ID: <20121214205020.GA11637@mail.hallyn.com> References: <50CA2B55.5070402@amacapital.net> <87mwxhtxve.fsf@xmission.com> <87zk1hshk7.fsf_-_@xmission.com> <20121214032820.GA5115@mail.hallyn.com> <87bodxi9zw.fsf@xmission.com> <20121214152607.GA9266@mail.hallyn.com> <87bodwd4aw.fsf@xmission.com> <20121214161514.GA9962@mail.hallyn.com> <87r4ms5wpm.fsf@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Linus Torvalds (torvalds@linux-foundation.org): > On Fri, Dec 14, 2012 at 10:12 AM, Eric W. Biederman > wrote: > > > > That said Serge I think I have lost track of the point of your question. > > .. and I'm a bit unsure what I should do about this all. Including > pulling the pull request that actually can make this all matter. Sorry I didn't mean to complicate this. I did ack the patch and we can cull the cc list for continued discussion. In practical terms, the only thing the patch prevent is having two separate tasks each clone a new user ns with the same uid mapping, and having consistent relationships between the same uids between the namespaces. It's worth it to prevent (or while we consider) the case Andy and Eric bring up. > Hmm? Any consensus? Acked-by: Serge Hallyn -serge