Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3824035iog; Tue, 21 Jun 2022 06:44:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u+5/1CXq4ZaP+zjBbhiX2KfrOPbvETJ7NnvPmRdGRfcgiKEonz0hco+GmlsUOxsDdm97y8 X-Received: by 2002:aa7:c681:0:b0:42f:b180:bb3d with SMTP id n1-20020aa7c681000000b0042fb180bb3dmr34853372edq.191.1655819071992; Tue, 21 Jun 2022 06:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655819071; cv=none; d=google.com; s=arc-20160816; b=ylyg7B4qZHI+sBwpDmxbDkzTtxvhJLtpt+a2yT/w4rC4fI2j3uB4DRhT+ChIjlNmHA bw3GgahIWrIuyVFuoiY/wZk4oWFt4S6s9roImqtkzwiO5TZJx8gSKtuStCr4iiWHDWpM D4Y8d6yi159nocVMJy+NoOlfZujQI3djtS3m+SwxgT90HNh5FaRZfqxEHkee6dJOXEyy KLBjMPDAWPOJBfXfqFlXkNMF94MmrlzZth5xVdQAuZuBdpGonaPiy0Y6TOmvn3xeuiz4 sUzz4drkGNDlFr+oHqnq6q3tcUNtczrJJGBvxD63bm2IkDxrp6Z7XujjhavvuqoUtae7 a+Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+IFXbdG+wR0rNZTi4GcUkSECLKFM2IYb+AQTxBSe4fk=; b=Tle9KJ5qGgt1zvtN+fZLoxHreoglMSh6bpvOzDmFdmC1CFe8UyuykoAfWB4c7Iwywp Y3OvPM+O04SawWvya881Ci8Mc6n62BCCzV8AL6jvRuCYbWpdzOHGd9LHbFVqM8r0WF4L 0BUyxonB64/sPmPYvtQhHuAGvZ+rHIIZ+mJjDOX3np+BrnRG3fVBz0AoAgkis93ajXsI ZV8EWnYvkBafyz/x7kfmVmTyMvA3ugp8POHqAaKkfNNh1q980+10lOOYEZMlHhVkVIj2 iW8YaAllBAjPtn2lZ9kkDAxbzVrkkTjbHxQ4AEpS1OCRcn0JH5acJeVBGXTH2LcLOYEC vK9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=P9m4XvKP; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w13-20020a50fa8d000000b00435705f2c71si10136964edr.439.2022.06.21.06.44.02; Tue, 21 Jun 2022 06:44: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=@redhat.com header.s=mimecast20190719 header.b=P9m4XvKP; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351270AbiFUNn5 (ORCPT + 99 others); Tue, 21 Jun 2022 09:43:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351858AbiFUNnu (ORCPT ); Tue, 21 Jun 2022 09:43:50 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B9EE818348 for ; Tue, 21 Jun 2022 06:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655819028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+IFXbdG+wR0rNZTi4GcUkSECLKFM2IYb+AQTxBSe4fk=; b=P9m4XvKPsMqZAKEGLG0ZzgMCYdPoGQ0L3PuROntzM1lsyY1oFCF7bCa4aiRKXGuv4Ocd6L uY8TAhhWcFfr6SejcPLJQ7DzDJaEI6mNcUBrQlSJ0/7vk7a3px5SugNcsxrYRNmlRIAbs4 oUF5WtNhRkt4ZgyH+g0okHSfdi12E5c= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-62-X3cv0L3hMRO36dr7RtIFaw-1; Tue, 21 Jun 2022 09:43:47 -0400 X-MC-Unique: X3cv0L3hMRO36dr7RtIFaw-1 Received: by mail-qk1-f197.google.com with SMTP id k188-20020a37a1c5000000b006a6c4ce2623so16442634qke.6 for ; Tue, 21 Jun 2022 06:43:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=+IFXbdG+wR0rNZTi4GcUkSECLKFM2IYb+AQTxBSe4fk=; b=v4wOrrN0fyL5+USKI3VabefjZo2Bt8YS2a1/l5g/lYKpr+sotUHEpx4TyAfFyBo8Bo 9Og6n49ewSQBo6hscMoy22jpd0D0gkb0ilJz7PpMM1e30gTxru7VRzKH+y6ZwDYkQo5u SMOTkj88miroEWXFoD+wsyvgEVWMpMRdZ6Mz07NtoJvK8CwilDkuh5t5xekbrBblShIA tm2Pemi2di+jvc+66cB4FdMFjuavV7uMj2+/XvkoajK8jJVbXdZVUAUeZeY49qrDKBnA 74aKGE2/bJ7JIpbtkVTDHv7hUXmTOj3gH0DjBDVWqXzJ7JgAz0RVvV8uT6Tr8JnJqAKW FX0w== X-Gm-Message-State: AJIora8S1zMvHIjCBRfMvLMpVXHa4HK0Ec3Ey7LVSoj/XfrJjKcCwbdP XqJXfrHzYffGOHqd2yvPZFA92AYnRzyanTGzwg3cQvjBDIaKDUpdojjtX5I7bcM5FPVOzYanf8m wA80HNhELD8FtbnZIH/I1 X-Received: by 2002:a05:620a:9c4:b0:6a6:9c07:c243 with SMTP id y4-20020a05620a09c400b006a69c07c243mr20307869qky.783.1655819027005; Tue, 21 Jun 2022 06:43:47 -0700 (PDT) X-Received: by 2002:a05:620a:9c4:b0:6a6:9c07:c243 with SMTP id y4-20020a05620a09c400b006a69c07c243mr20307852qky.783.1655819026742; Tue, 21 Jun 2022 06:43:46 -0700 (PDT) Received: from [172.31.1.6] ([70.109.186.229]) by smtp.gmail.com with ESMTPSA id 74-20020a37044d000000b006a6539862f8sm13911578qke.40.2022.06.21.06.43.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jun 2022 06:43:45 -0700 (PDT) Message-ID: Date: Tue, 21 Jun 2022 09:43:44 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 0/6] Allow nfs4-acl-tools to access 'dacl' and 'sacl' Content-Language: en-US To: trondmy@kernel.org, "J.Bruce Fields" Cc: linux-nfs@vger.kernel.org References: <20220514144436.4298-1-trondmy@kernel.org> From: Steve Dickson In-Reply-To: <20220514144436.4298-1-trondmy@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,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 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.