Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp425284pxf; Thu, 11 Mar 2021 07:04:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJym1FrAzReTyODby8d8/eN6xcDy3nyGByPZub+wlKr/w9popYMHsjnugslscTOYr25x6jia X-Received: by 2002:a17:906:1444:: with SMTP id q4mr3497544ejc.343.1615475056900; Thu, 11 Mar 2021 07:04:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615475056; cv=none; d=google.com; s=arc-20160816; b=svSwdyOr7IVsiVrbiLx91MKGmEQUNCsuL7lUmA4FhRRfu52IchWWw5UaBPcDJ/Dl+9 gXIbzZy2QOQqTBU0YpaufD0Mzsl8QIPvgGD+Z+dmkOqQl8f2khlU10dpTfJz02SnJZfm 3380EvVzlGRoKNdy690yo9AKkaNnGKht5R0XCtQpqscv1M2p8pcNEcxizPdvd6WBkZDR XBo+Up6sYAEGXxkW8OXZ3C80k25h1pmMoarh0/rpUPhM6xdN2CnJ8mneBsgR4y9enged sppt+A74fpnYmCNCbHlLfU3JaCy2KA4aU1oc8gUJ4XTFZsVjXxWZw8fyn3ABqyCzMYq+ 45fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature; bh=T32H4xMbln8mRCO4BemdfMrRGXOFNoA7rJn1tXoNvNY=; b=QgH/YUJmdMyQY4Eb+kgNM0iwSko+Cnln8/oD6kfl1jWgIEH+/wQmO7dCvmABI4RCVx qPOaGODnke0uTH37TmFX0jK7d9zMfg3ESClqnwyBlMQDDLfy6FMPzVpgcARYIHwRg9To k23m86s7xVkSbHVIeucpcVcB/Kmyfdu3kPhwIQjFCjULrKsk2puFJguivQ5R+HM1WWwZ GzsgmCxvmaHn1soYGRdFTorqFMF3x1K0eeRYsrJlWayPE2YMM3AgU5dXbovSmtgZzv+z fuZC1U9P76qdhm7QFHcbWdD/RP7oxDJl/xbhWLSElrWSzMqdhIv/bBiz5k7Tp55nOSLJ 4v+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@auristor.com header.s=MDaemon header.b=VedWkOJ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=auristor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y13si1971043edv.220.2021.03.11.07.03.29; Thu, 11 Mar 2021 07:04:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@auristor.com header.s=MDaemon header.b=VedWkOJ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=auristor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233921AbhCKPAR (ORCPT + 99 others); Thu, 11 Mar 2021 10:00:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233765AbhCKPAL (ORCPT ); Thu, 11 Mar 2021 10:00:11 -0500 X-Greylist: delayed 307 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 11 Mar 2021 07:00:08 PST Received: from sequoia-grove.ad.secure-endpoints.com (sequoia-grove.secure-endpoints.com [IPv6:2001:470:1f07:f77:70f5:c082:a96a:5685]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB138C061574 for ; Thu, 11 Mar 2021 07:00:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/relaxed; d=auristor.com; s=MDaemon; r=y; t=1615474499; x=1616079299; i=jaltman@auristor.com; q=dns/txt; h=Subject:To:Cc:References: From:Organization:Message-ID:Date:User-Agent:MIME-Version: In-Reply-To:Content-Type; bh=T32H4xMbln8mRCO4BemdfMrRGXOFNoA7rJn 1tXoNvNY=; b=VedWkOJ59vWpGEWSI5ne0JlUHukLxhwG9QFhJ3EIfjCMpOHCLnf xV1kCHEXT8iNkLNIfg4EQM/Qpvhdtv6kSe/8J4nUr7Ug6oCsWkuziYqeofzaTQ8W xuOP3LBfBDKRsPaLpVEzB3NExAkO4w2mOdF/O9dQbpk3SEUiLzNumCHw= X-MDAV-Result: clean X-MDAV-Processed: sequoia-grove.ad.secure-endpoints.com, Thu, 11 Mar 2021 09:54:59 -0500 Received: from [IPv6:2603:7000:73d:4f22:7c0c:f010:6a2e:c624] by auristor.com (IPv6:2001:470:1f07:f77:28d9:68fb:855d:c2a5) (MDaemon PRO v21.0.1d) with ESMTPSA id md5001002904908.msg; Thu, 11 Mar 2021 09:54:58 -0500 X-Spam-Processed: sequoia-grove.ad.secure-endpoints.com, Thu, 11 Mar 2021 09:54:58 -0500 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 2603:7000:73d:4f22:7c0c:f010:6a2e:c624 X-MDHelo: [IPv6:2603:7000:73d:4f22:7c0c:f010:6a2e:c624] X-MDArrival-Date: Thu, 11 Mar 2021 09:54:58 -0500 X-MDOrigin-Country: United States, North America X-Authenticated-Sender: jaltman@auristor.com X-Return-Path: prvs=1704299ed9=jaltman@auristor.com X-Envelope-From: jaltman@auristor.com X-MDaemon-Deliver-To: linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] AFS metadata xattr fixes To: "David Howells (dhowells@redhat.com)" , linux-afs@lists.infradead.org Cc: Gaja Sophie Peters , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <161547181530.1868820.12933722592029066752.stgit@warthog.procyon.org.uk> From: Jeffrey E Altman Organization: AuriStor, Inc. Message-ID: <08de868e-d207-8980-1da4-da79eda07560@auristor.com> Date: Thu, 11 Mar 2021 09:54:47 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <161547181530.1868820.12933722592029066752.stgit@warthog.procyon.org.uk> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms030802040403060804030404" X-MDCFSigsAdded: auristor.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a cryptographically signed message in MIME format. --------------ms030802040403060804030404 Content-Type: multipart/mixed; boundary="------------B202B6D5E6132616347ACAB7" Content-Language: en-US This is a multi-part message in MIME format. --------------B202B6D5E6132616347ACAB7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 3/11/2021 9:10 AM, David Howells (dhowells@redhat.com) wrote: > I wonder if it's better to just hide all the afs.* xattrs from listxatt= r(). > It would probably be even better to not use xattrs for this, but I'm no= t > sure what I would use instead. I believe that all of the "afs.*" xattrs should be hidden from=20 listxattr(). Any "afs.*" xattr that is read from an afs inode can be=20 copied to another filesystem and stored. Attempts to set these values=20 in an afs volume will fail. The use of xattrs is intended to be an alternative to the IBM/OpenAFS=20 pioctls which are accessed by processes such as "fs", "aklog", "tokens", = etc which would know the names of the xattrs and how to use them. Such = tools would not require listxattr() to find them. Thanks for the consideration. Jeffrey Altman --------------B202B6D5E6132616347ACAB7 Content-Type: text/x-vcard; charset=utf-8; name="jaltman.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="jaltman.vcf" begin:vcard fn:Jeffrey Altman n:Altman;Jeffrey org:AuriStor, Inc. adr:;;255 W 94TH ST STE 6B;New York;NY;10025-6985;United States email;internet:jaltman@auristor.com title:CEO tel;work:+1-212-769-9018 url:https://www.linkedin.com/in/jeffreyaltman/ version:2.1 end:vcard --------------B202B6D5E6132616347ACAB7-- --------------ms030802040403060804030404 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC DGswggXSMIIEuqADAgECAhBAAW0B1qVVQ32wvx2EXYU6MA0GCSqGSIb3DQEBCwUAMDoxCzAJ BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEy MB4XDTE5MDkwNTE0MzE0N1oXDTIyMTEwMTE0MzE0N1owcDEvMC0GCgmSJomT8ixkAQETH0Ew MTQxMEMwMDAwMDE2RDAxRDZBNTQwMDAwMDQ0NDcxGTAXBgNVBAMTEEplZmZyZXkgRSBBbHRt YW4xFTATBgNVBAoTDEF1cmlTdG9yIEluYzELMAkGA1UEBhMCVVMwggEiMA0GCSqGSIb3DQEB AQUAA4IBDwAwggEKAoIBAQCY1TC9QeWnUgEoJ81FcAVnhGn/AWuzvkYRUG5/ZyXDdaM212e8 ybCklgSmZweqNdrfaaHXk9vwjpvpD4YWgb07nJ1QBwlvRV/VPAaDdneIygJJWBCzaMVLttKO 0VimH/I/HUwFBQT2mrktucCEf2qogdi2P+p5nuhnhIUiyZ71Fo43gF6cuXIMV/1rBNIJDuwM Q3H8zi6GL0p4mZFZDDKtbYq2l8+MNxFvMrYcLaJqejQNQRBuZVfv0Fq9pOGwNLAk19baIw3U xdwx+bGpTtS63Py1/57MQ0W/ZXE/Ocnt1qoDLpJeZIuEBKgMcn5/iN9+Ro5zAuOBEKg34wBS 8QCTAgMBAAGjggKcMIICmDAOBgNVHQ8BAf8EBAMCBPAwgYQGCCsGAQUFBwEBBHgwdjAwBggr BgEFBQcwAYYkaHR0cDovL2NvbW1lcmNpYWwub2NzcC5pZGVudHJ1c3QuY29tMEIGCCsGAQUF BzAChjZodHRwOi8vdmFsaWRhdGlvbi5pZGVudHJ1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