-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UAPI: (Scripted) Disintegrate include/linux/nfsd
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
- Loading branch information
David Howells
committed
Oct 9, 2012
1 parent
9e2d865
commit 616d1ca
Showing
11 changed files
with
246 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +0,0 @@ | ||
header-y += cld.h | ||
header-y += debug.h | ||
header-y += export.h | ||
header-y += nfsfh.h | ||
header-y += stats.h | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
# UAPI Header export list | ||
header-y += cld.h | ||
header-y += debug.h | ||
header-y += export.h | ||
header-y += nfsfh.h | ||
header-y += stats.h |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* linux/include/linux/nfsd/debug.h | ||
* | ||
* Debugging-related stuff for nfsd | ||
* | ||
* Copyright (C) 1995 Olaf Kirch <okir@monad.swb.de> | ||
*/ | ||
|
||
#ifndef _UAPILINUX_NFSD_DEBUG_H | ||
#define _UAPILINUX_NFSD_DEBUG_H | ||
|
||
#include <linux/sunrpc/debug.h> | ||
|
||
/* | ||
* Enable debugging for nfsd. | ||
* Requires RPC_DEBUG. | ||
*/ | ||
#ifdef RPC_DEBUG | ||
# define NFSD_DEBUG 1 | ||
#endif | ||
|
||
/* | ||
* knfsd debug flags | ||
*/ | ||
#define NFSDDBG_SOCK 0x0001 | ||
#define NFSDDBG_FH 0x0002 | ||
#define NFSDDBG_EXPORT 0x0004 | ||
#define NFSDDBG_SVC 0x0008 | ||
#define NFSDDBG_PROC 0x0010 | ||
#define NFSDDBG_FILEOP 0x0020 | ||
#define NFSDDBG_AUTH 0x0040 | ||
#define NFSDDBG_REPCACHE 0x0080 | ||
#define NFSDDBG_XDR 0x0100 | ||
#define NFSDDBG_LOCKD 0x0200 | ||
#define NFSDDBG_ALL 0x7FFF | ||
#define NFSDDBG_NOCHANGE 0xFFFF | ||
|
||
|
||
|
||
#endif /* _UAPILINUX_NFSD_DEBUG_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* include/linux/nfsd/export.h | ||
* | ||
* Public declarations for NFS exports. The definitions for the | ||
* syscall interface are in nfsctl.h | ||
* | ||
* Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> | ||
*/ | ||
|
||
#ifndef _UAPINFSD_EXPORT_H | ||
#define _UAPINFSD_EXPORT_H | ||
|
||
# include <linux/types.h> | ||
|
||
/* | ||
* Important limits for the exports stuff. | ||
*/ | ||
#define NFSCLNT_IDMAX 1024 | ||
#define NFSCLNT_ADDRMAX 16 | ||
#define NFSCLNT_KEYMAX 32 | ||
|
||
/* | ||
* Export flags. | ||
*/ | ||
#define NFSEXP_READONLY 0x0001 | ||
#define NFSEXP_INSECURE_PORT 0x0002 | ||
#define NFSEXP_ROOTSQUASH 0x0004 | ||
#define NFSEXP_ALLSQUASH 0x0008 | ||
#define NFSEXP_ASYNC 0x0010 | ||
#define NFSEXP_GATHERED_WRITES 0x0020 | ||
/* 40 80 100 currently unused */ | ||
#define NFSEXP_NOHIDE 0x0200 | ||
#define NFSEXP_NOSUBTREECHECK 0x0400 | ||
#define NFSEXP_NOAUTHNLM 0x0800 /* Don't authenticate NLM requests - just trust */ | ||
#define NFSEXP_MSNFS 0x1000 /* do silly things that MS clients expect; no longer supported */ | ||
#define NFSEXP_FSID 0x2000 | ||
#define NFSEXP_CROSSMOUNT 0x4000 | ||
#define NFSEXP_NOACL 0x8000 /* reserved for possible ACL related use */ | ||
/* | ||
* The NFSEXP_V4ROOT flag causes the kernel to give access only to NFSv4 | ||
* clients, and only to the single directory that is the root of the | ||
* export; further lookup and readdir operations are treated as if every | ||
* subdirectory was a mountpoint, and ignored if they are not themselves | ||
* exported. This is used by nfsd and mountd to construct the NFSv4 | ||
* pseudofilesystem, which provides access only to paths leading to each | ||
* exported filesystem. | ||
*/ | ||
#define NFSEXP_V4ROOT 0x10000 | ||
/* All flags that we claim to support. (Note we don't support NOACL.) */ | ||
#define NFSEXP_ALLFLAGS 0x17E3F | ||
|
||
/* The flags that may vary depending on security flavor: */ | ||
#define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH \ | ||
| NFSEXP_ALLSQUASH \ | ||
| NFSEXP_INSECURE_PORT) | ||
|
||
|
||
#endif /* _UAPINFSD_EXPORT_H */ |
Oops, something went wrong.