blob: 4716fb13e2a19a46ec4dfa051baeaad028adec4a [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
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 Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _UAPINFSD_EXPORT_H
20#define _UAPINFSD_EXPORT_H
21#include <linux/types.h>
22#define NFSCLNT_IDMAX 1024
Ben Cheng655a7c02013-10-16 16:09:24 -070023#define NFSCLNT_ADDRMAX 16
24#define NFSCLNT_KEYMAX 32
25#define NFSEXP_READONLY 0x0001
26#define NFSEXP_INSECURE_PORT 0x0002
Ben Cheng655a7c02013-10-16 16:09:24 -070027#define NFSEXP_ROOTSQUASH 0x0004
28#define NFSEXP_ALLSQUASH 0x0008
29#define NFSEXP_ASYNC 0x0010
30#define NFSEXP_GATHERED_WRITES 0x0020
Christopher Ferris82d75042015-01-26 10:57:07 -080031#define NFSEXP_NOREADDIRPLUS 0x0040
Christopher Ferris525ce912017-07-26 13:12:53 -070032#define NFSEXP_SECURITY_LABEL 0x0080
Ben Cheng655a7c02013-10-16 16:09:24 -070033#define NFSEXP_NOHIDE 0x0200
34#define NFSEXP_NOSUBTREECHECK 0x0400
35#define NFSEXP_NOAUTHNLM 0x0800
Christopher Ferris82d75042015-01-26 10:57:07 -080036#define NFSEXP_MSNFS 0x1000
Ben Cheng655a7c02013-10-16 16:09:24 -070037#define NFSEXP_FSID 0x2000
38#define NFSEXP_CROSSMOUNT 0x4000
39#define NFSEXP_NOACL 0x8000
Christopher Ferris82d75042015-01-26 10:57:07 -080040#define NFSEXP_V4ROOT 0x10000
Christopher Ferris05d08e92016-02-04 13:16:38 -080041#define NFSEXP_PNFS 0x20000
Christopher Ferris525ce912017-07-26 13:12:53 -070042#define NFSEXP_ALLFLAGS 0x3FEFF
Tao Baod7db5942015-01-28 10:07:51 -080043#define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH | NFSEXP_ALLSQUASH | NFSEXP_INSECURE_PORT)
Christopher Ferris05d08e92016-02-04 13:16:38 -080044#endif