svn commit: r364836 - head/sys/sys
Rick Macklem
rmacklem at FreeBSD.org
Wed Aug 26 20:56:05 UTC 2020
Author: rmacklem
Date: Wed Aug 26 20:56:05 2020
New Revision: 364836
URL: https://svnweb.freebsd.org/changeset/base/364836
Log:
Add MNT_EXTLSxxx flags that will be used for NFS over TLS exports.
These flags are not currently used, but will be used by future commits to
implement export(5) requirements for the use of NFS over TLS by clients.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D26180
Modified:
head/sys/sys/mount.h
Modified: head/sys/sys/mount.h
==============================================================================
--- head/sys/sys/mount.h Wed Aug 26 20:30:00 2020 (r364835)
+++ head/sys/sys/mount.h Wed Aug 26 20:56:05 2020 (r364836)
@@ -365,6 +365,9 @@ struct mntoptnames {
#define MNT_EXPORTANON 0x0000000000000400ULL /* anon uid mapping for all */
#define MNT_EXKERB 0x0000000000000800ULL /* exported with Kerberos */
#define MNT_EXPUBLIC 0x0000000020000000ULL /* public export (WebNFS) */
+#define MNT_EXTLS 0x0000004000000000ULL /* require TLS */
+#define MNT_EXTLSCERT 0x0000008000000000ULL /* require TLS with client cert */
+#define MNT_EXTLSCERTUSER 0x0000010000000000ULL /* require TLS with user cert */
/*
* Flags set by internal operations,
More information about the svn-src-all
mailing list