diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/nfs_fs_sb.h | 2 | ||||
| -rw-r--r-- | include/linux/sunrpc/auth.h | 2 | ||||
| -rw-r--r-- | include/linux/sunrpc/auth_gss.h | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index ac7e4fb943ea..c9beacd16c00 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
| @@ -32,6 +32,8 @@ struct nfs_client { | |||
| 32 | const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */ | 32 | const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */ |
| 33 | int cl_proto; /* Network transport protocol */ | 33 | int cl_proto; /* Network transport protocol */ |
| 34 | 34 | ||
| 35 | struct rpc_cred *cl_machine_cred; | ||
| 36 | |||
| 35 | #ifdef CONFIG_NFS_V4 | 37 | #ifdef CONFIG_NFS_V4 |
| 36 | u64 cl_clientid; /* constant */ | 38 | u64 cl_clientid; /* constant */ |
| 37 | nfs4_verifier cl_confirm; | 39 | nfs4_verifier cl_confirm; |
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index a19c3af933ca..3f632182d8eb 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
| @@ -26,6 +26,7 @@ struct auth_cred { | |||
| 26 | uid_t uid; | 26 | uid_t uid; |
| 27 | gid_t gid; | 27 | gid_t gid; |
| 28 | struct group_info *group_info; | 28 | struct group_info *group_info; |
| 29 | unsigned char machine_cred : 1; | ||
| 29 | }; | 30 | }; |
| 30 | 31 | ||
| 31 | /* | 32 | /* |
| @@ -130,6 +131,7 @@ void __exit rpcauth_remove_module(void); | |||
| 130 | void __exit rpc_destroy_generic_auth(void); | 131 | void __exit rpc_destroy_generic_auth(void); |
| 131 | 132 | ||
| 132 | struct rpc_cred * rpc_lookup_cred(void); | 133 | struct rpc_cred * rpc_lookup_cred(void); |
| 134 | struct rpc_cred * rpc_lookup_machine_cred(void); | ||
| 133 | int rpcauth_register(const struct rpc_authops *); | 135 | int rpcauth_register(const struct rpc_authops *); |
| 134 | int rpcauth_unregister(const struct rpc_authops *); | 136 | int rpcauth_unregister(const struct rpc_authops *); |
| 135 | struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *); | 137 | struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *); |
diff --git a/include/linux/sunrpc/auth_gss.h b/include/linux/sunrpc/auth_gss.h index 67658e17a375..fec6899bf355 100644 --- a/include/linux/sunrpc/auth_gss.h +++ b/include/linux/sunrpc/auth_gss.h | |||
| @@ -84,6 +84,7 @@ struct gss_cred { | |||
| 84 | enum rpc_gss_svc gc_service; | 84 | enum rpc_gss_svc gc_service; |
| 85 | struct gss_cl_ctx *gc_ctx; | 85 | struct gss_cl_ctx *gc_ctx; |
| 86 | struct gss_upcall_msg *gc_upcall; | 86 | struct gss_upcall_msg *gc_upcall; |
| 87 | unsigned char gc_machine_cred : 1; | ||
| 87 | }; | 88 | }; |
| 88 | 89 | ||
| 89 | #endif /* __KERNEL__ */ | 90 | #endif /* __KERNEL__ */ |
