Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2024 01:55:00 GMT
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: cfcf0db9097a - stable/14 - nfsproto.h: Define the new mode_umask attribute
Message-ID:  <202408310155.47V1t0db023728@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=cfcf0db9097aba82450bd79c40c08eb8251d4df7

commit cfcf0db9097aba82450bd79c40c08eb8251d4df7
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2024-08-17 00:40:52 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2024-08-31 01:53:55 +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.
    
    (cherry picked from commit 10d5b43424da7fadfbdcc41bbffe40d130af1e1d)
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408310155.47V1t0db023728>