From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753804AbbFDTdm (ORCPT ); Thu, 4 Jun 2015 15:33:42 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:35257 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753419AbbFDTdk (ORCPT ); Thu, 4 Jun 2015 15:33:40 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Andy Lutomirski Date: Thu, 4 Jun 2015 12:33:18 -0700 Message-ID: Subject: Re: [PATCH v3 0/2] capabilities: Ambient capability patchset To: Andy Lutomirski Cc: Serge Hallyn , Andrew Morton , James Morris , Jarkko Sakkinen , "Ted Ts'o" , "Andrew G. Morgan" , Linux API , Mimi Zohar , Michael Kerrisk , Austin S Hemmelgarn , linux-security-module , Aaron Jones , Serge Hallyn , LKML , 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 On Wed, May 27, 2015 at 4:47 PM, Andy Lutomirski wrote: > This adds ambient capabilities. See the individual patch changelogs > for details. > > Preliminary userspace code is here: > > https://git.kernel.org/cgit/linux/kernel/git/luto/util-linux-playground.git/commit/?h=cap_ambient&id=7f5afbd175d2 > > James or akpm, I think this is ready for 4.2. Can one of you queue it up? akpm / James: Ping? Do I need more acks? --Andy > > Thanks, > Andy > > Changes from v2: > - Improve the patch 1 changelog a bit. > - Add acks. > - Add comment clarifying the pE' rule. > - s/except/expect > > Changes from v1: > - Lots of cleanups to the ambient cap code. > - The securebit is new. > > Andy Lutomirski (2): > capabilities: Ambient capabilities > capabilities: Add a securebit to disable PR_CAP_AMBIENT_RAISE > > fs/proc/array.c | 5 ++- > include/linux/cred.h | 8 ++++ > include/uapi/linux/prctl.h | 6 +++ > include/uapi/linux/securebits.h | 11 ++++- > kernel/user_namespace.c | 1 + > security/commoncap.c | 92 ++++++++++++++++++++++++++++++++++++----- > security/keys/process_keys.c | 1 + > 7 files changed, 112 insertions(+), 12 deletions(-) > > -- > 2.1.0 > -- Andy Lutomirski AMA Capital Management, LLC