X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fnfs%2Fexport.h;h=d3e188c4b6a44afa7fc41ed921570e2cd5a8f1b2;hp=344ece550f6ba7a425cc5868cb3253a6701f3d37;hb=d778309abd38fcd6a240448606192b9ef3411565;hpb=40c87b1d669a34447824a81e24f9bb38417d702d diff --git a/support/include/nfs/export.h b/support/include/nfs/export.h index 344ece5..d3e188c 100644 --- a/support/include/nfs/export.h +++ b/support/include/nfs/export.h @@ -17,13 +17,23 @@ #define NFSEXP_ALLSQUASH 0x0008 #define NFSEXP_ASYNC 0x0010 #define NFSEXP_GATHERED_WRITES 0x0020 -#define NFSEXP_UIDMAP 0x0040 -#define NFSEXP_KERBEROS 0x0080 /* not available */ -#define NFSEXP_SUNSECURE 0x0100 -#define NFSEXP_CROSSMNT 0x0200 +/* 40, 80, 100 unused */ +#define NFSEXP_NOHIDE 0x0200 #define NFSEXP_NOSUBTREECHECK 0x0400 #define NFSEXP_NOAUTHNLM 0x0800 #define NFSEXP_FSID 0x2000 -#define NFSEXP_ALLFLAGS 0x3FFF +#define NFSEXP_CROSSMOUNT 0x4000 +#define NFSEXP_NOACL 0x8000 /* reserved for possible ACL related use */ +/* + * 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 */