From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Jones Subject: Re: [PATCH v2 1/2] capabilities: Ambient capabilities Date: Tue, 19 May 2015 20:22:17 +0000 Message-ID: <555B9B79.9080806@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andy Lutomirski , Christoph Lameter Cc: Jarkko Sakkinen , Ted Ts'o , "Andrew G. Morgan" , Andrew Morton , Serge Hallyn , Michael Kerrisk , Mimi Zohar , Linux API , Austin S Hemmelgarn , linux-security-module , LKML , Serge Hallyn , Markku Savela , Kees Cook , Jonathan Corbet List-Id: linux-api@vger.kernel.org On 19/05/15 20:07, Andy Lutomirski wrote:> It's in the cover letter, rather vaguely. I think I want to change > the setpriv syntax a bit before sending it upstream, though -- it's > sucks that you have to duplicate the option. > > Perhaps the ambient-caps option should implicitly raise inheritable > caps if they're not already raised. Or maybe the absence of an > inh-caps rule should cause any requested ambient caps to be made > inheritable as well. > > --Andy I propose an additional --ambient-inh option to copy everything from --inh-caps to the ambient set. Explicit is better than implicit. -- Aaron Jones