Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _UAPINFSD_EXPORT_H |
| 8 | #define _UAPINFSD_EXPORT_H |
| 9 | #include <linux/types.h> |
| 10 | #define NFSCLNT_IDMAX 1024 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | #define NFSCLNT_ADDRMAX 16 |
| 12 | #define NFSCLNT_KEYMAX 32 |
| 13 | #define NFSEXP_READONLY 0x0001 |
| 14 | #define NFSEXP_INSECURE_PORT 0x0002 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 15 | #define NFSEXP_ROOTSQUASH 0x0004 |
| 16 | #define NFSEXP_ALLSQUASH 0x0008 |
| 17 | #define NFSEXP_ASYNC 0x0010 |
| 18 | #define NFSEXP_GATHERED_WRITES 0x0020 |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 19 | #define NFSEXP_NOREADDIRPLUS 0x0040 |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 20 | #define NFSEXP_SECURITY_LABEL 0x0080 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 21 | #define NFSEXP_NOHIDE 0x0200 |
| 22 | #define NFSEXP_NOSUBTREECHECK 0x0400 |
| 23 | #define NFSEXP_NOAUTHNLM 0x0800 |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 24 | #define NFSEXP_MSNFS 0x1000 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 25 | #define NFSEXP_FSID 0x2000 |
| 26 | #define NFSEXP_CROSSMOUNT 0x4000 |
| 27 | #define NFSEXP_NOACL 0x8000 |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 28 | #define NFSEXP_V4ROOT 0x10000 |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 29 | #define NFSEXP_PNFS 0x20000 |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 30 | #define NFSEXP_ALLFLAGS 0x3FEFF |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 31 | #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] | 32 | #define NFSEXP_XPRTSEC_NONE 0x0001 |
| 33 | #define NFSEXP_XPRTSEC_TLS 0x0002 |
| 34 | #define NFSEXP_XPRTSEC_MTLS 0x0004 |
| 35 | #define NFSEXP_XPRTSEC_NUM (3) |
| 36 | #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] | 37 | #endif |