Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751523AbbESUYR (ORCPT ); Tue, 19 May 2015 16:24:17 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:33930 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750893AbbESUYM (ORCPT ); Tue, 19 May 2015 16:24:12 -0400 MIME-Version: 1.0 In-Reply-To: <555B9B79.9080806@gmail.com> References: <555B9B79.9080806@gmail.com> From: Andy Lutomirski Date: Tue, 19 May 2015 13:23:50 -0700 Message-ID: Subject: Re: [PATCH v2 1/2] capabilities: Ambient capabilities To: Aaron Jones Cc: Christoph Lameter , 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 24 On Tue, May 19, 2015 at 1:22 PM, Aaron Jones wrote: > 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. Seems reasonable. I'll do something like that for v2.1. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/