From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA928C47254 for ; Fri, 1 May 2020 03:51:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C325D20857 for ; Fri, 1 May 2020 03:51:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728191AbgEADvX (ORCPT ); Thu, 30 Apr 2020 23:51:23 -0400 Received: from namei.org ([65.99.196.166]:56348 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727889AbgEADvW (ORCPT ); Thu, 30 Apr 2020 23:51:22 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id 0413pA7g030035; Fri, 1 May 2020 03:51:10 GMT Date: Fri, 1 May 2020 13:51:10 +1000 (AEST) From: James Morris To: Stefan Hajnoczi cc: linux-security-module@vger.kernel.org, Serge Hallyn , linux-kernel@vger.kernel.org Subject: Re: [PATCH] capabilities: add description for CAP_SETFCAP In-Reply-To: <20200428085816.GD15547@stefanha-x1.localdomain> Message-ID: References: <20200414154945.142372-1-stefanha@redhat.com> <20200428085816.GD15547@stefanha-x1.localdomain> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Apr 2020, Stefan Hajnoczi wrote: > On Tue, Apr 14, 2020 at 04:49:45PM +0100, Stefan Hajnoczi wrote: > > Document the purpose of CAP_SETFCAP. For some reason this capability > > had no description while the others did. > > > > Signed-off-by: Stefan Hajnoczi > > --- > > include/uapi/linux/capability.h | 2 ++ > > 1 file changed, 2 insertions(+) > > Ping? Please resend and I'll add it to my tree. > > > diff --git a/include/uapi/linux/capability.h b/include/uapi/linux/capability.h > > index 272dc69fa080..7288f0ad44af 100644 > > --- a/include/uapi/linux/capability.h > > +++ b/include/uapi/linux/capability.h > > @@ -332,6 +332,8 @@ struct vfs_ns_cap_data { > > > > #define CAP_AUDIT_CONTROL 30 > > > > +/* Set or remove capabilities on files */ > > + > > #define CAP_SETFCAP 31 > > > > /* Override MAC access. > > -- > > 2.25.1 > > > -- James Morris