summaryrefslogtreecommitdiffstats
path: root/support/include/nfs/export.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/include/nfs/export.h')
-rw-r--r--support/include/nfs/export.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/support/include/nfs/export.h b/support/include/nfs/export.h
index f7a99ba..d3e188c 100644
--- a/support/include/nfs/export.h
+++ b/support/include/nfs/export.h
@@ -24,6 +24,16 @@
#define NFSEXP_FSID 0x2000
#define NFSEXP_CROSSMOUNT 0x4000
#define NFSEXP_NOACL 0x8000 /* reserved for possible ACL related use */
-#define NFSEXP_ALLFLAGS 0xFFFF
+/*
+ * All flags supported by the kernel before addition of the
+ * export_features interface:
+ */
+#define NFSEXP_OLDFLAGS 0x7E3F
+/*
+ * Flags that can vary per flavor, for kernels before addition of the
+ * export_features interface:
+ */
+#define NFSEXP_OLD_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH \
+ | NFSEXP_ALLSQUASH)
#endif /* _NSF_EXPORT_H */