From nobody Sat Aug 17 00:41:57 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wm0Rn1lsjz5TrRp; Sat, 17 Aug 2024 00:41:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wm0Rn1JWRz4Yv2; Sat, 17 Aug 2024 00:41:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723855317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PxrPj+oRNqlVbTSEVVfg18w8WPNYog+ebYjjvNiKqng=; b=hBAV0grombJ4KCviG3N8lUYyXyUCNF7+Rrw7OS0n87HCO/swfciniwmIioF7llvsz0/2Rj hL4DSR5isBGqagbLxmiGhMdlGNVlCIokSE2KpPeeci7xoCduwhQ6RjuAtJ9ZaCKSdhBKgh x+d0EnpM6T6En56l221Vnv3zhA21HtyS5RBq9Q5bHnlew6QRKksQT4cu2fxv9+vOhIcR7I jdMibWfccVOnJVn7fd4iEr6hSblXQ/HWN33l150+nLJPjqq3M8Y2pXiTrqpVOEsy/iG5KK P4ahboCeIj79Y7JvRkWiXej1kHZMfPSdzvE9M1gcbOL9u7vRQROBrXGwhID9DA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723855317; a=rsa-sha256; cv=none; b=sX++hFInLRECuzaJycHcNTrbRAPul0TFAOoeOpdfXQdgzm2z3LnkuklEnlbDd9nM3YOn9H EV2fn5plbo2eEMIbA1tKU1eq7lCpyy36l+Mh0313u3hTOMrvNMTfUpvr4pMFP16pV3e+zx rgAXdBfkBCxV3mIshAoigkiJTSAMVsgC8iyRoHpWg6z2tW8BiK5q089hzI9bN4B/hk8iO3 oBztfR7w0Y6a7LdiAqTKVpqDcNWBn1nJmlGPsaDNDmg1R6A8u1gewGIuzeHtBemnGdUPkS Efh5nhvr9YIODo1NZa9iMwGJGdVRJOWOM18iQQ6mymxpvkEz1/BUgk5YOXEEhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723855317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PxrPj+oRNqlVbTSEVVfg18w8WPNYog+ebYjjvNiKqng=; b=KvRCiRqXmVmEgq09O1Z5QXElnhtAAzujp57vxHLiWIJnHxVnP6lBAIlrjbXQPXfXpYrFXG VVERedzKLDVxyzdlxM3tlVaDLft5HLq2Vt2znfCaz4TTVr0c1vHLM49joEvgR10rb2slfo qep7X1z4Pk1cVxQZqVvOjxwiUyfn7ot71P4CRWgQZIFzpyd8VSOSN7MHeo0Q9i8Bq2CCje BYKeUhfuqNc7/giAO/VTH9gph+mf0uaWEJDtNa6Wy4wmMK9LJkgspAe/GKV+F5qTrJBg2H +Ec3NDJKAK3nWGnq4nUae9Q2pP+jvFzKeLWLtV+BZ5fdfuyZiMqAQljIu4f6kA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wm0Rn0s6RzSlm; Sat, 17 Aug 2024 00:41:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47H0fvc1006937; Sat, 17 Aug 2024 00:41:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47H0fvv0006934; Sat, 17 Aug 2024 00:41:57 GMT (envelope-from git) Date: Sat, 17 Aug 2024 00:41:57 GMT Message-Id: <202408170041.47H0fvv0006934@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: 10d5b43424da - main - nfsproto.h: Define the new mode_umask attribute List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 10d5b43424da7fadfbdcc41bbffe40d130af1e1d Auto-Submitted: auto-generated The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=10d5b43424da7fadfbdcc41bbffe40d130af1e1d commit 10d5b43424da7fadfbdcc41bbffe40d130af1e1d Author: Rick Macklem AuthorDate: 2024-08-17 00:40:52 +0000 Commit: Rick Macklem CommitDate: 2024-08-17 00:40:52 +0000 nfsproto.h: Define the new mode_umask attribute RFC8275 defines a new attribute as an extension to NFSv4.2 called MODE_UMASK. This patch adds the attribute number to nfsproto.h. Future patches will add optional support for the attribute. This patch does not cause any semantics change. MFC after: 2 weeks --- sys/fs/nfs/nfsproto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/nfs/nfsproto.h b/sys/fs/nfs/nfsproto.h index ca9c732b6a43..0268940fd8a6 100644 --- a/sys/fs/nfs/nfsproto.h +++ b/sys/fs/nfs/nfsproto.h @@ -1004,7 +1004,7 @@ struct nfsv3_sattr { #define NFSATTRBIT_SPACEFREED 78 #define NFSATTRBIT_CHANGEATTRTYPE 79 #define NFSATTRBIT_SECLABEL 80 -/* Not sure what attribute bit #81 is? */ +#define NFSATTRBIT_MODEUMASK 81 #define NFSATTRBIT_XATTRSUPPORT 82 #define NFSATTRBM_SUPPORTEDATTRS 0x00000001 @@ -1088,7 +1088,7 @@ struct nfsv3_sattr { #define NFSATTRBM_SPACEFREED 0x00004000 #define NFSATTRBM_CHANGEATTRTYPE 0x00008000 #define NFSATTRBM_SECLABEL 0x00010000 -/* Not sure what attribute bit#81/0x00020000 is? */ +#define NFSATTRBM_MODEUMASK 0x00020000 #define NFSATTRBM_XATTRSUPPORT 0x00040000 #define NFSATTRBIT_MAX 83