Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux/nfsd
File: export.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* include/linux/nfsd/export.h
[2] Fix | Delete
*
[3] Fix | Delete
* Public declarations for NFS exports. The definitions for the
[4] Fix | Delete
* syscall interface are in nfsctl.h
[5] Fix | Delete
*
[6] Fix | Delete
* Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
#ifndef NFSD_EXPORT_H
[10] Fix | Delete
#define NFSD_EXPORT_H
[11] Fix | Delete
[12] Fix | Delete
# include <linux/types.h>
[13] Fix | Delete
[14] Fix | Delete
/*
[15] Fix | Delete
* Important limits for the exports stuff.
[16] Fix | Delete
*/
[17] Fix | Delete
#define NFSCLNT_IDMAX 1024
[18] Fix | Delete
#define NFSCLNT_ADDRMAX 16
[19] Fix | Delete
#define NFSCLNT_KEYMAX 32
[20] Fix | Delete
[21] Fix | Delete
/*
[22] Fix | Delete
* Export flags.
[23] Fix | Delete
*
[24] Fix | Delete
* Please update the expflags[] array in fs/nfsd/export.c when adding
[25] Fix | Delete
* a new flag.
[26] Fix | Delete
*/
[27] Fix | Delete
#define NFSEXP_READONLY 0x0001
[28] Fix | Delete
#define NFSEXP_INSECURE_PORT 0x0002
[29] Fix | Delete
#define NFSEXP_ROOTSQUASH 0x0004
[30] Fix | Delete
#define NFSEXP_ALLSQUASH 0x0008
[31] Fix | Delete
#define NFSEXP_ASYNC 0x0010
[32] Fix | Delete
#define NFSEXP_GATHERED_WRITES 0x0020
[33] Fix | Delete
#define NFSEXP_NOREADDIRPLUS 0x0040
[34] Fix | Delete
#define NFSEXP_SECURITY_LABEL 0x0080
[35] Fix | Delete
/* 0x100 currently unused */
[36] Fix | Delete
#define NFSEXP_NOHIDE 0x0200
[37] Fix | Delete
#define NFSEXP_NOSUBTREECHECK 0x0400
[38] Fix | Delete
#define NFSEXP_NOAUTHNLM 0x0800 /* Don't authenticate NLM requests - just trust */
[39] Fix | Delete
#define NFSEXP_MSNFS 0x1000 /* do silly things that MS clients expect; no longer supported */
[40] Fix | Delete
#define NFSEXP_FSID 0x2000
[41] Fix | Delete
#define NFSEXP_CROSSMOUNT 0x4000
[42] Fix | Delete
#define NFSEXP_NOACL 0x8000 /* reserved for possible ACL related use */
[43] Fix | Delete
/*
[44] Fix | Delete
* The NFSEXP_V4ROOT flag causes the kernel to give access only to NFSv4
[45] Fix | Delete
* clients, and only to the single directory that is the root of the
[46] Fix | Delete
* export; further lookup and readdir operations are treated as if every
[47] Fix | Delete
* subdirectory was a mountpoint, and ignored if they are not themselves
[48] Fix | Delete
* exported. This is used by nfsd and mountd to construct the NFSv4
[49] Fix | Delete
* pseudofilesystem, which provides access only to paths leading to each
[50] Fix | Delete
* exported filesystem.
[51] Fix | Delete
*/
[52] Fix | Delete
#define NFSEXP_V4ROOT 0x10000
[53] Fix | Delete
#define NFSEXP_PNFS 0x20000
[54] Fix | Delete
[55] Fix | Delete
/* All flags that we claim to support. (Note we don't support NOACL.) */
[56] Fix | Delete
#define NFSEXP_ALLFLAGS 0x3FEFF
[57] Fix | Delete
[58] Fix | Delete
/* The flags that may vary depending on security flavor: */
[59] Fix | Delete
#define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH \
[60] Fix | Delete
| NFSEXP_ALLSQUASH \
[61] Fix | Delete
| NFSEXP_INSECURE_PORT)
[62] Fix | Delete
[63] Fix | Delete
[64] Fix | Delete
#endif /* NFSD_EXPORT_H */
[65] Fix | Delete
[66] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function