From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753314AbbCIMFb (ORCPT ); Mon, 9 Mar 2015 08:05:31 -0400 Received: from resqmta-ch2-02v.sys.comcast.net ([69.252.207.34]:42446 "EHLO resqmta-ch2-02v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753253AbbCIMF1 (ORCPT ); Mon, 9 Mar 2015 08:05:27 -0400 Date: Mon, 9 Mar 2015 07:05:24 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: "Serge E. Hallyn" cc: Andy Lutomirski , Serge Hallyn , Jonathan Corbet , Aaron Jones , LSM List , "linux-kernel@vger.kernel.org" , Andrew Morton , "Andrew G. Morgan" , Mimi Zohar , Austin S Hemmelgarn , Markku Savela , Jarkko Sakkinen , Linux API , Michael Kerrisk Subject: Re: [PATCH] capabilities: Ambient capability set V2 In-Reply-To: <20150307213554.GB9833@mail.hallyn.com> Message-ID: References: <20150301233359.GA22196@mail.hallyn.com> <20150305171326.GA14998@mail.hallyn.com> <20150306163443.GA28386@mail.hallyn.com> <20150306200838.GA29198@mail.hallyn.com> <20150307213554.GB9833@mail.hallyn.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 7 Mar 2015, Serge E. Hallyn wrote: > > The ancestor here is ambient_test and when it is run pI will not be set > > despite the cap setting. > > ambient_test is supposed to set it. I thought the setcap +i would do it. So the setcap and setting of the file inheritance bits has no effect on pI? When the process starts pI is off despite fI being set?