X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fnfs%2Fexport.h;h=1547a871360d9f187497e93cf1361434ca2e490f;hp=f7a99bab964b34ccf779f28b095c4986b303958e;hb=HEAD;hpb=9c8dfab04dcf5f5067061703d6cd08ee408eec8f diff --git a/support/include/nfs/export.h b/support/include/nfs/export.h index f7a99ba..1547a87 100644 --- a/support/include/nfs/export.h +++ b/support/include/nfs/export.h @@ -24,6 +24,17 @@ #define NFSEXP_FSID 0x2000 #define NFSEXP_CROSSMOUNT 0x4000 #define NFSEXP_NOACL 0x8000 /* reserved for possible ACL related use */ -#define NFSEXP_ALLFLAGS 0xFFFF +#define NFSEXP_V4ROOT 0x10000 +/* + * 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 */