aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mount.h
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2020-08-26 20:56:05 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2020-08-26 20:56:05 +0000
commitc5ce27ba2450e67b2c28773a3593511e12bed26d (patch)
treee44431a7afad32189bc06e33924824b9606a41b9 /sys/sys/mount.h
parentf1602aff80182979e18c35d095eedb831cfc3998 (diff)
downloadsrc-c5ce27ba2450e67b2c28773a3593511e12bed26d.tar.gz
src-c5ce27ba2450e67b2c28773a3593511e12bed26d.zip
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
Notes
Notes: svn path=/head/; revision=364836
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r--sys/sys/mount.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index c14a148fd8d1..f916d7bbd443 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -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,