From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752954AbbC3PGH (ORCPT ); Mon, 30 Mar 2015 11:06:07 -0400 Received: from resqmta-ch2-06v.sys.comcast.net ([69.252.207.38]:58068 "EHLO resqmta-ch2-06v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752541AbbC3PGA (ORCPT ); Mon, 30 Mar 2015 11:06:00 -0400 Date: Mon, 30 Mar 2015 10:05:58 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Andy Lutomirski cc: Jarkko Sakkinen , Andrew Lutomirski , "Ted Ts'o" , Andrew Morton , "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: Re: [RFC] capabilities: Ambient capabilities In-Reply-To: Message-ID: References: <933931146caf5dac58379f50c017bff9f6c47661.1426183417.git.luto@kernel.org> 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 Mon, 30 Mar 2015, Andy Lutomirski wrote: > > Would this suffice? It puts the CAP_SETPCAP limitation back to how it > > was in my earlier patch. > I really don't like that variant. CAP_SETPCAP is dangerous and so > absurdly powerful that people really shouldn't hand it out. According to man 7 capabilities CAP_SETPCAP is required to setup securebits. This hides the functionality behind yet another stage of security and obscures this ability somewhat more?