aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-07-24 17:09:02 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-07-24 17:09:02 -0400
commit1592c4d62a89bbca895c568d65ce290dfbc36ecc (patch)
tree6b979bc02ded2ea7e644c34e6939ffbbb7ee001d /include/linux/sunrpc
parent668f455dac57050e33a43ff5fe006f6cd947fc65 (diff)
parentf0445670bd81cae9f46399d98fef5cd1622d9776 (diff)
Merge branch 'nfs-rdma'
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/auth.h3
-rw-r--r--include/linux/sunrpc/gss_api.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index f890a295a7ff..4ccf184e971f 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -109,6 +109,9 @@ struct rpc_auth {
109 /* per-flavor data */ 109 /* per-flavor data */
110}; 110};
111 111
112/* rpc_auth au_flags */
113#define RPCAUTH_AUTH_DATATOUCH 0x00000002
114
112struct rpc_auth_create_args { 115struct rpc_auth_create_args {
113 rpc_authflavor_t pseudoflavor; 116 rpc_authflavor_t pseudoflavor;
114 const char *target_name; 117 const char *target_name;
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h
index 1f911ccb2a75..68ec78c1aa48 100644
--- a/include/linux/sunrpc/gss_api.h
+++ b/include/linux/sunrpc/gss_api.h
@@ -73,6 +73,7 @@ u32 gss_delete_sec_context(
73rpc_authflavor_t gss_svc_to_pseudoflavor(struct gss_api_mech *, u32 qop, 73rpc_authflavor_t gss_svc_to_pseudoflavor(struct gss_api_mech *, u32 qop,
74 u32 service); 74 u32 service);
75u32 gss_pseudoflavor_to_service(struct gss_api_mech *, u32 pseudoflavor); 75u32 gss_pseudoflavor_to_service(struct gss_api_mech *, u32 pseudoflavor);
76bool gss_pseudoflavor_to_datatouch(struct gss_api_mech *, u32 pseudoflavor);
76char *gss_service_to_auth_domain_name(struct gss_api_mech *, u32 service); 77char *gss_service_to_auth_domain_name(struct gss_api_mech *, u32 service);
77 78
78struct pf_desc { 79struct pf_desc {
@@ -81,6 +82,7 @@ struct pf_desc {
81 u32 service; 82 u32 service;
82 char *name; 83 char *name;
83 char *auth_domain_name; 84 char *auth_domain_name;
85 bool datatouch;
84}; 86};
85 87
86/* Different mechanisms (e.g., krb5 or spkm3) may implement gss-api, and 88/* Different mechanisms (e.g., krb5 or spkm3) may implement gss-api, and