diff options
author | Simo Sorce <simo@redhat.com> | 2012-05-25 18:09:53 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-04-26 11:41:27 -0400 |
commit | 400f26b542e86995662a0cc5483656b7b1f42af6 (patch) | |
tree | b5dc026aad338be6a59d60106de334dfb7bda838 /include/linux/sunrpc/gss_api.h | |
parent | 33d90ac0581ce81d1ebfc51918a2757e41a6011c (diff) |
SUNRPC: conditionally return endtime from import_sec_context
We expose this parameter for a future caller.
It will be used to extract the endtime from the gss-proxy upcall mechanism,
in order to set the rsc cache expiration time.
Signed-off-by: Simo Sorce <simo@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/gss_api.h')
-rw-r--r-- | include/linux/sunrpc/gss_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h index a19e2547ae6a..04d03bb2de5d 100644 --- a/include/linux/sunrpc/gss_api.h +++ b/include/linux/sunrpc/gss_api.h | |||
@@ -37,6 +37,7 @@ int gss_import_sec_context( | |||
37 | size_t bufsize, | 37 | size_t bufsize, |
38 | struct gss_api_mech *mech, | 38 | struct gss_api_mech *mech, |
39 | struct gss_ctx **ctx_id, | 39 | struct gss_ctx **ctx_id, |
40 | time_t *endtime, | ||
40 | gfp_t gfp_mask); | 41 | gfp_t gfp_mask); |
41 | u32 gss_get_mic( | 42 | u32 gss_get_mic( |
42 | struct gss_ctx *ctx_id, | 43 | struct gss_ctx *ctx_id, |
@@ -92,6 +93,7 @@ struct gss_api_ops { | |||
92 | const void *input_token, | 93 | const void *input_token, |
93 | size_t bufsize, | 94 | size_t bufsize, |
94 | struct gss_ctx *ctx_id, | 95 | struct gss_ctx *ctx_id, |
96 | time_t *endtime, | ||
95 | gfp_t gfp_mask); | 97 | gfp_t gfp_mask); |
96 | u32 (*gss_get_mic)( | 98 | u32 (*gss_get_mic)( |
97 | struct gss_ctx *ctx_id, | 99 | struct gss_ctx *ctx_id, |