diff options
Diffstat (limited to 'include/linux/sunrpc/gss_api.h')
| -rw-r--r-- | include/linux/sunrpc/gss_api.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h index 03f33330ece2..5d8048beb051 100644 --- a/include/linux/sunrpc/gss_api.h +++ b/include/linux/sunrpc/gss_api.h | |||
| @@ -35,7 +35,8 @@ int gss_import_sec_context( | |||
| 35 | const void* input_token, | 35 | const void* input_token, |
| 36 | size_t bufsize, | 36 | size_t bufsize, |
| 37 | struct gss_api_mech *mech, | 37 | struct gss_api_mech *mech, |
| 38 | struct gss_ctx **ctx_id); | 38 | struct gss_ctx **ctx_id, |
| 39 | gfp_t gfp_mask); | ||
| 39 | u32 gss_get_mic( | 40 | u32 gss_get_mic( |
| 40 | struct gss_ctx *ctx_id, | 41 | struct gss_ctx *ctx_id, |
| 41 | struct xdr_buf *message, | 42 | struct xdr_buf *message, |
| @@ -80,6 +81,8 @@ struct gss_api_mech { | |||
| 80 | /* pseudoflavors supported by this mechanism: */ | 81 | /* pseudoflavors supported by this mechanism: */ |
| 81 | int gm_pf_num; | 82 | int gm_pf_num; |
| 82 | struct pf_desc * gm_pfs; | 83 | struct pf_desc * gm_pfs; |
| 84 | /* Should the following be a callback operation instead? */ | ||
| 85 | const char *gm_upcall_enctypes; | ||
| 83 | }; | 86 | }; |
| 84 | 87 | ||
| 85 | /* and must provide the following operations: */ | 88 | /* and must provide the following operations: */ |
| @@ -87,7 +90,8 @@ struct gss_api_ops { | |||
| 87 | int (*gss_import_sec_context)( | 90 | int (*gss_import_sec_context)( |
| 88 | const void *input_token, | 91 | const void *input_token, |
| 89 | size_t bufsize, | 92 | size_t bufsize, |
| 90 | struct gss_ctx *ctx_id); | 93 | struct gss_ctx *ctx_id, |
| 94 | gfp_t gfp_mask); | ||
| 91 | u32 (*gss_get_mic)( | 95 | u32 (*gss_get_mic)( |
| 92 | struct gss_ctx *ctx_id, | 96 | struct gss_ctx *ctx_id, |
| 93 | struct xdr_buf *message, | 97 | struct xdr_buf *message, |
