aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/auth.h')
-rw-r--r--include/linux/sunrpc/auth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index b68c11a2d6dd..bfc5fb279539 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -50,6 +50,7 @@ struct rpc_cred {
50}; 50};
51#define RPCAUTH_CRED_LOCKED 0x0001 51#define RPCAUTH_CRED_LOCKED 0x0001
52#define RPCAUTH_CRED_UPTODATE 0x0002 52#define RPCAUTH_CRED_UPTODATE 0x0002
53#define RPCAUTH_CRED_NEW 0x0004
53 54
54#define RPCAUTH_CRED_MAGIC 0x0f4aa4f0 55#define RPCAUTH_CRED_MAGIC 0x0f4aa4f0
55 56
@@ -87,6 +88,10 @@ struct rpc_auth {
87 * uid/gid, fs[ug]id, gids) 88 * uid/gid, fs[ug]id, gids)
88 */ 89 */
89 90
91/* Flags for rpcauth_lookupcred() */
92#define RPCAUTH_LOOKUP_NEW 0x01 /* Accept an uninitialised cred */
93#define RPCAUTH_LOOKUP_ROOTCREDS 0x02 /* This really ought to go! */
94
90/* 95/*
91 * Client authentication ops 96 * Client authentication ops
92 */ 97 */