NFSv4: Reintroduce machine creds
[linux-2.6-block.git] / include / linux / sunrpc / auth.h
index a19c3af933ca5898bdc8ad504afae0398451a56e..3f632182d8eb03e966530c04fdb7a675e2cc08c7 100644 (file)
@@ -26,6 +26,7 @@ struct auth_cred {
        uid_t   uid;
        gid_t   gid;
        struct group_info *group_info;
+       unsigned char machine_cred : 1;
 };
 
 /*
@@ -130,6 +131,7 @@ void __exit         rpcauth_remove_module(void);
 void __exit            rpc_destroy_generic_auth(void);
 
 struct rpc_cred *      rpc_lookup_cred(void);
+struct rpc_cred *      rpc_lookup_machine_cred(void);
 int                    rpcauth_register(const struct rpc_authops *);
 int                    rpcauth_unregister(const struct rpc_authops *);
 struct rpc_auth *      rpcauth_create(rpc_authflavor_t, struct rpc_clnt *);