From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240AbbCFQeq (ORCPT ); Fri, 6 Mar 2015 11:34:46 -0500 Received: from h2.hallyn.com ([78.46.35.8]:41896 "EHLO h2.hallyn.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbbCFQep (ORCPT ); Fri, 6 Mar 2015 11:34:45 -0500 Date: Fri, 6 Mar 2015 10:34:43 -0600 From: "Serge E. Hallyn" To: Christoph Lameter Cc: "Serge E. Hallyn" , Serge Hallyn , Andy Lutomirski , Jonathan Corbet , Aaron Jones , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@linuxfoundation.org, "Andrew G. Morgan" , Mimi Zohar , Austin S Hemmelgarn , Markku Savela , Jarkko Sakkinen , linux-api@vger.kernel.org, Michael Kerrisk Subject: Re: [PATCH] capabilities: Ambient capability set V2 Message-ID: <20150306163443.GA28386@mail.hallyn.com> References: <20150301233359.GA22196@mail.hallyn.com> <20150305171326.GA14998@mail.hallyn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 06, 2015 at 09:50:02AM -0600, Christoph Lameter wrote: > On Thu, 5 Mar 2015, Serge E. Hallyn wrote: > > > > > So I'd say drop this change ^ > > > > > > Then the ambient caps get ignored for a executables that have capabilities > > > seton the file? > > > > Yes. Those are assumed to already know what they're doing. > > Ok can we get this patch merged now if I do this change > (effectively ambient caps for binaries that have no caps set) and deal with the > other issues later? This would cover most of the use cases here at least. Sorry, something about that patch-patch didn't make sense to me, but I need to look more closely. My objection was that you were able to get the pA capabilities into pP without them being in your pI. Your proposed change didn't seem like it would fix that. It also seems worth waiting until you talk to Andy in person next week. -serge