1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPINFSD_EXPORT_H 20 #define _UAPINFSD_EXPORT_H 21 #include <linux/types.h> 22 #define NFSCLNT_IDMAX 1024 23 #define NFSCLNT_ADDRMAX 16 24 #define NFSCLNT_KEYMAX 32 25 #define NFSEXP_READONLY 0x0001 26 #define NFSEXP_INSECURE_PORT 0x0002 27 #define NFSEXP_ROOTSQUASH 0x0004 28 #define NFSEXP_ALLSQUASH 0x0008 29 #define NFSEXP_ASYNC 0x0010 30 #define NFSEXP_GATHERED_WRITES 0x0020 31 #define NFSEXP_NOREADDIRPLUS 0x0040 32 #define NFSEXP_SECURITY_LABEL 0x0080 33 #define NFSEXP_NOHIDE 0x0200 34 #define NFSEXP_NOSUBTREECHECK 0x0400 35 #define NFSEXP_NOAUTHNLM 0x0800 36 #define NFSEXP_MSNFS 0x1000 37 #define NFSEXP_FSID 0x2000 38 #define NFSEXP_CROSSMOUNT 0x4000 39 #define NFSEXP_NOACL 0x8000 40 #define NFSEXP_V4ROOT 0x10000 41 #define NFSEXP_PNFS 0x20000 42 #define NFSEXP_ALLFLAGS 0x3FEFF 43 #define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH | NFSEXP_ALLSQUASH | NFSEXP_INSECURE_PORT) 44 #endif 45