Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3837190iog; Tue, 21 Jun 2022 07:00:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uvPzZJhSZWaESLX1/O8likdXDnOLl1qAQjk2JwXphnvgRx9apESADQXBXU//tlH+99gm0s X-Received: by 2002:a05:6402:2548:b0:42d:dd95:5bfe with SMTP id l8-20020a056402254800b0042ddd955bfemr35692859edb.285.1655820031778; Tue, 21 Jun 2022 07:00:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655820031; cv=none; d=google.com; s=arc-20160816; b=JNixcNlDSbcnDXSykzUnG4XOZYfPzAGC3FdT3Yte9ylVWCOS9ZBslte147PqgHBWEI opGuyx5HvYEYopC8t5JMC1spnkTOyUpSecGme6Qi/9JZyO4kPT/3OQ2MnT64XwYTg9GM GCKVmQtRddcJAQK8Ih3RJP/sV8XW1k+euMQ7tWelFWUiJpifbjg84aF7l4A/wQZ0Ji2X Qy+Zm+SgHhm60Rseu91tK+UC3LYrkDFYkP7ne2duOE8Tat4FFUAucirfjDZEcgFv5Vsb pjZWOFZtSRECqAfzvdSWBs3BOSD3ZKIIT8WlkuDyvUlnhq0Yrm43CuB6ss/rmTM36+3j d3Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=R9ItDMeRXcJE46wrGY2Q8a6yTiBq5zM0UziH7WxCYfU=; b=uxaVT+gVsLhXuXvpRanhZNJMz3YPDoWj8qaNeBqbINgCS5F13E6DrCYbfWn8j2T1YL Tn43KEpKbbM6SK9L63aUWZYm64f+lalArb+Cb0hbiELV5DLlxtftZbQOeHqSFUiGaHBp Zu1wQrp0ZVkKwLgHe1NvIgvigZYbLY+3pVoPlkRsjl1orBGhKcYlemMELfboNaIcaoVc /zeLz6sNGvQ7PjP9p4OuxNf67ldtymslm5TJHswwzVAwAsRoR5X4JpiN4ZwaZ0uBaH8y a9VXEO/CBY/BJPeWquUE4wv/LcJkPNcqboOAsX9esXlMvN0LbznIeXxMo9StdANjMiUH dc3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=sjEhhvA8; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fieldses.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn20-20020a17090794d400b00722d8f4431bsi4911861ejc.618.2022.06.21.06.59.46; Tue, 21 Jun 2022 07:00:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=sjEhhvA8; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fieldses.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233370AbiFUN6K (ORCPT + 99 others); Tue, 21 Jun 2022 09:58:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbiFUN6J (ORCPT ); Tue, 21 Jun 2022 09:58:09 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAAA5DCA for ; Tue, 21 Jun 2022 06:58:03 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id EDEA57158; Tue, 21 Jun 2022 09:58:01 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org EDEA57158 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1655819881; bh=R9ItDMeRXcJE46wrGY2Q8a6yTiBq5zM0UziH7WxCYfU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sjEhhvA8LyfjiupzJUgXKeBvJ2LRuyTPHQ2xpICTNey3e9hEtQLK4nWsvihgTwmzH lqC8DlZHAaYQKeoO/r5EroEIO3DIKjSwa1wthkXVoTEvVunOOQDBksr6DgK5UZ02ns 2Rw/PtCWFA4+y3fItakAl8NPFE8MEc47l4hNkdds= Date: Tue, 21 Jun 2022 09:58:01 -0400 From: "J.Bruce Fields" To: Steve Dickson Cc: trondmy@kernel.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH 0/6] Allow nfs4-acl-tools to access 'dacl' and 'sacl' Message-ID: <20220621135801.GB18065@fieldses.org> References: <20220514144436.4298-1-trondmy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Thanks!--b. On Tue, Jun 21, 2022 at 09:43:44AM -0400, Steve Dickson wrote: > > > On 5/14/22 10:44 AM, trondmy@kernel.org wrote: > >From: Trond Myklebust > > > >The following patch set matches the kernel patches to allow access to > >the NFSv4.1 'dacl' and 'sacl' attributes. The current patches are very > >basic, adding support for encoding/decoding the new attributes only when > >the user specifies the '--dacl' or '--sacl' flags on the command line. > > > >Trond Myklebust (6): > > libnfs4acl: Add helpers to set the dacl and sacl > > libnfs4acl: Add support for the NFS4.1 ACE_INHERITED_ACE flag > > The NFSv41 DACL and SACL prepend an extra field to the acl > > nfs4_getacl: Add support for the --dacl and --sacl options > > nfs4_setacl: Add support for the --dacl and --sacl options > > Edit manpages to document the new --dacl, --sacl and inheritance > > features > > > > include/libacl_nfs4.h | 18 +++++++ > > include/nfs4.h | 6 +++ > > libnfs4acl/Makefile | 2 + > > libnfs4acl/acl_nfs4_copy_acl.c | 2 + > > libnfs4acl/acl_nfs4_xattr_load.c | 14 +++++- > > libnfs4acl/acl_nfs4_xattr_pack.c | 22 ++++++-- > > libnfs4acl/nfs4_ace_from_string.c | 3 ++ > > libnfs4acl/nfs4_get_ace_flags.c | 2 + > > libnfs4acl/nfs4_getacl.c | 84 +++++++++++++++++++++++++++++++ > > libnfs4acl/nfs4_new_acl.c | 1 + > > libnfs4acl/nfs4_setacl.c | 49 ++++++++++++++++++ > > man/man1/nfs4_getfacl.1 | 14 ++++++ > > man/man1/nfs4_setfacl.1 | 8 +++ > > man/man5/nfs4_acl.5 | 10 ++++ > > nfs4_getfacl/nfs4_getfacl.c | 73 ++++++++++++++++++++++++--- > > nfs4_setfacl/nfs4_setfacl.c | 67 ++++++++++++++++++++++-- > > 16 files changed, 359 insertions(+), 16 deletions(-) > > create mode 100644 libnfs4acl/nfs4_getacl.c > > create mode 100644 libnfs4acl/nfs4_setacl.c > > > My apologies this took so long.... > > Committed (tag: nfs4-acl-tools-0.4.1-rc) > > steved.