Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2020 21:15:26 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r358054 - projects/nfs-over-tls/sys/fs/nfsclient
Message-ID:  <202002172115.01HLFQW5008715@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Mon Feb 17 21:15:26 2020
New Revision: 358054
URL: https://svnweb.freebsd.org/changeset/base/358054

Log:
  Add a field for new mount options only done via nmount(2), since all
  the bits in nm_flags are used.
  Add a new flag for TLS mounts.

Modified:
  projects/nfs-over-tls/sys/fs/nfsclient/nfsmount.h

Modified: projects/nfs-over-tls/sys/fs/nfsclient/nfsmount.h
==============================================================================
--- projects/nfs-over-tls/sys/fs/nfsclient/nfsmount.h	Mon Feb 17 21:10:32 2020	(r358053)
+++ projects/nfs-over-tls/sys/fs/nfsclient/nfsmount.h	Mon Feb 17 21:15:26 2020	(r358054)
@@ -47,6 +47,7 @@
 struct	nfsmount {
 	struct	nfsmount_common nm_com;	/* Common fields for nlm */
 	uint32_t nm_privflag;		/* Private flags */
+	uint32_t nm_newflag;		/* New mount flags */
 	int	nm_numgrps;		/* Max. size of groupslist */
 	u_char	nm_fh[NFSX_FHMAX];	/* File handle of root dir */
 	int	nm_fhsize;		/* Size of root file handle */
@@ -113,6 +114,9 @@ struct	nfsmount {
 #define	NFSMNTP_NOXATTR		0x00000080
 #define	NFSMNTP_NOADVISE	0x00000100
 #define	NFSMNTP_NOALLOCATE	0x00000200
+
+/* New mount flags only used by the kernel via nmount(2). */
+#define	NFSMNT_TLS		0x00000001
 
 #define	NFSMNT_DIRPATH(m)	(&((m)->nm_name[(m)->nm_krbnamelen + 1]))
 #define	NFSMNT_SRVKRBNAME(m)						\



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