Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965038AbbBBUfV (ORCPT ); Mon, 2 Feb 2015 15:35:21 -0500 Received: from smtp103.biz.mail.bf1.yahoo.com ([98.139.221.62]:41858 "EHLO smtp103.biz.mail.bf1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754435AbbBBUfS (ORCPT ); Mon, 2 Feb 2015 15:35:18 -0500 X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 3SJpdt0VM1lGker6SsFKPZFwNCt8rh3.LHp_Zmjjuwy9Ray 8e5lfkXNwQFx_KEPe3.iXfQSub6SnfGXiP05RfkV6A7vIhIXWrgyxtqc.8K_ p9gr5b0I08A3xq_lrJPecEKP3YVvTNJcWSMGgfj21WuOb_JvG33PmkYAANLL wMpyjYnX_Y4O.UZBMCzbSppCOVIl1FVMTO1rzgamyGu1M.61TrzPM0c9IdiO 4NnGwe7yoxxHmxQpsUqyHy3elkD57nHTIVCfgQuxYv6t9aIW1eSV7eF9cRJn oE7.Y.E48wrWhRvIueEwXUQON.TkBBU2m37DGYeOBgdtBHblK0ZzJyQgjkLR BAL0GNzxkFHba961ci7YjEg4JOQY.umJEaK4Szse0_KJOvjsjzHGSU8b_8bS dZ1_OXB1xVwSM_U4XoQtU6tlCmIwJzLegh6mbh8CBMOgMI6ND2ir9iBwW.U8 MiOajgVcAG9ZVV0DXifgHtDxSMsJYv.BUWqultoZxoXTVWbZPPM.ItgNtK71 s78S_qmaNTqZS5KHve2.5P3pVK9l4.629109M0Z398l3T_oWyDzAL2Nd03ro - X-Yahoo-SMTP: OIJXglSswBDfgLtXluJ6wiAYv6_cnw-- Message-ID: <54CFDF86.8010003@schaufler-ca.com> Date: Mon, 02 Feb 2015 12:35:18 -0800 From: Casey Schaufler User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Austin S Hemmelgarn , Mimi Zohar , Serge Hallyn CC: Christoph Lameter , Serge Hallyn , Andy Lutomirski , Jonathan Corbet , Aaron Jones , "Ted Ts'o" , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@linuxfoundation.org, Casey Schaufler Subject: Re: [capabilities] Allow normal inheritance for a configurable set of capabilities References: <54CFB9B8.8020701@schaufler-ca.com> <20150202180806.GE24351@ubuntumail> <1422902826.30131.38.camel@dhcp-9-2-203-236.watson.ibm.com> <54CFCA6C.4030004@gmail.com> In-Reply-To: <54CFCA6C.4030004@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1719 Lines: 37 On 2/2/2015 11:05 AM, Austin S Hemmelgarn wrote: > On 2015-02-02 13:47, Mimi Zohar wrote: >> On Mon, 2015-02-02 at 18:08 +0000, Serge Hallyn wrote: >>> Quoting Casey Schaufler (casey@schaufler-ca.com): >>>> I'm game to participate in such an effort. The POSIX scheme >>>> is workable, but given that it's 20 years old and hasn't >>>> developed real traction it's hard to call it successful. >>> >>> Over the years we've several times discussed possible reasons for this >>> and how to help. I personally think it's two things: 1. lack of >>> toolchain and fs support. The fact that we cannot to this day enable >>> ping using capabilities by default because of cpio, tar and non-xattr >>> filesystems is disheartening. >> >> We're working on resolving the CPIO issue. tar currently supports >> xattrs. At this point, how many non-xattr filesystems are there really? >> > > FAT*, and UFS immediately come to mind, and I know of people who use > UFS for their root filesystem. There are a handful (ext* included) > that need an option turned on in the kernel config, and possibly also > a mount option added. > > IIRC, the Linux NFS client has no xattr support, and that is very > widely used because it's easier to set up than any alternatives. There is NFSv4 support for Mandatory Access Control labels, but so far it only works with SELinux contexts. It is not a general solution. Networking people think poorly of the notion of extended attributes over the wire. -- 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/