Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 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 | ****************************************************************************/ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #ifndef _UAPINFSD_EXPORT_H |
| 20 | #define _UAPINFSD_EXPORT_H |
| 21 | #include <linux/types.h> |
| 22 | #define NFSCLNT_IDMAX 1024 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #define NFSCLNT_ADDRMAX 16 |
| 24 | #define NFSCLNT_KEYMAX 32 |
| 25 | #define NFSEXP_READONLY 0x0001 |
| 26 | #define NFSEXP_INSECURE_PORT 0x0002 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 27 | #define NFSEXP_ROOTSQUASH 0x0004 |
| 28 | #define NFSEXP_ALLSQUASH 0x0008 |
| 29 | #define NFSEXP_ASYNC 0x0010 |
| 30 | #define NFSEXP_GATHERED_WRITES 0x0020 |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 31 | #define NFSEXP_NOREADDIRPLUS 0x0040 |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 32 | #define NFSEXP_SECURITY_LABEL 0x0080 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 33 | #define NFSEXP_NOHIDE 0x0200 |
| 34 | #define NFSEXP_NOSUBTREECHECK 0x0400 |
| 35 | #define NFSEXP_NOAUTHNLM 0x0800 |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 36 | #define NFSEXP_MSNFS 0x1000 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 37 | #define NFSEXP_FSID 0x2000 |
| 38 | #define NFSEXP_CROSSMOUNT 0x4000 |
| 39 | #define NFSEXP_NOACL 0x8000 |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 40 | #define NFSEXP_V4ROOT 0x10000 |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 41 | #define NFSEXP_PNFS 0x20000 |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 42 | #define NFSEXP_ALLFLAGS 0x3FEFF |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 43 | #define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH | NFSEXP_ALLSQUASH | NFSEXP_INSECURE_PORT) |
Christopher Ferris | 37c3f3c | 2023-07-10 10:59:05 -0700 | [diff] [blame] | 44 | #define NFSEXP_XPRTSEC_NONE 0x0001 |
| 45 | #define NFSEXP_XPRTSEC_TLS 0x0002 |
| 46 | #define NFSEXP_XPRTSEC_MTLS 0x0004 |
| 47 | #define NFSEXP_XPRTSEC_NUM (3) |
| 48 | #define NFSEXP_XPRTSEC_ALL (NFSEXP_XPRTSEC_NONE | NFSEXP_XPRTSEC_TLS | NFSEXP_XPRTSEC_MTLS) |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 49 | #endif |