Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754259AbbEOGkY (ORCPT ); Fri, 15 May 2015 02:40:24 -0400 Received: from mail.kernel.org ([198.145.29.136]:57696 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933743AbbEOGkU (ORCPT ); Fri, 15 May 2015 02:40:20 -0400 From: Andy Lutomirski To: Serge Hallyn , Andrew Morton Cc: Jarkko Sakkinen , Andrew Lutomirski , "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 Subject: [PATCH v2 0/2] capabilities: Ambient capabilities Date: Thu, 14 May 2015 23:39:47 -0700 Message-Id: X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 34 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 I'll follow up with a rough draft of a man-pages patch. 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 | 88 ++++++++++++++++++++++++++++++++++++----- security/keys/process_keys.c | 1 + 7 files changed, 108 insertions(+), 12 deletions(-) -- 2.1.0 -- 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/