]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/sunrpc/auth.h
SUNRPC: Fix a lock recursion in the auth_gss downcall
[karo-tx-linux.git] / include / linux / sunrpc / auth.h
index b68c11a2d6dd912274b146df30d17bc4045800a9..bfc5fb27953949edc244f0b8228701b8f047917c 100644 (file)
@@ -50,6 +50,7 @@ struct rpc_cred {
 };
 #define RPCAUTH_CRED_LOCKED    0x0001
 #define RPCAUTH_CRED_UPTODATE  0x0002
+#define RPCAUTH_CRED_NEW       0x0004
 
 #define RPCAUTH_CRED_MAGIC     0x0f4aa4f0
 
@@ -87,6 +88,10 @@ struct rpc_auth {
                                                 * uid/gid, fs[ug]id, gids)
                                                 */
 
+/* Flags for rpcauth_lookupcred() */
+#define RPCAUTH_LOOKUP_NEW             0x01    /* Accept an uninitialised cred */
+#define RPCAUTH_LOOKUP_ROOTCREDS       0x02    /* This really ought to go! */
+
 /*
  * Client authentication ops
  */