From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [PATCH] capabilities: Ambient capability set V1 Date: Thu, 26 Feb 2015 15:29:44 -0600 (CST) Message-ID: References: <20150224164429.GB29685@ubuntumail> <20150225033247.GC29685@ubuntumail> <20150226153524.GC15182@mail.hallyn.com> <20150226193200.GA17709@mail.hallyn.com> <20150226203405.GB18926@mail.hallyn.com> <20150226205512.GA19273@mail.hallyn.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: Sender: linux-security-module-owner@vger.kernel.org To: Andy Lutomirski Cc: "Serge E. Hallyn" , Serge Hallyn , Serge Hallyn , Aaron Jones , Ted Ts'o , LSM List , Andrew Morton , "Andrew G. Morgan" , Mimi Zohar , Austin S Hemmelgarn , Markku Savela , Jarkko Sakkinen , "linux-kernel@vger.kernel.org" , Linux API , Michael Kerrisk , Jonathan Corbet List-Id: linux-api@vger.kernel.org On Thu, 26 Feb 2015, Andy Lutomirski wrote: > I'm still extremely nervous about allowing nonempty pA to propagate to > setuid or nonzero fP programs. It's less obviously dangerous if pA is > never a superset of pP, but it could still cause problems with setuid > programs that execute intentionally deprivileged helpers. Well but the intend of the ambient caps is that all processes spawned have those caps. So they should not be dropped implicitly by othe mechanisms because they could spawn scripts etc that need these privs again.