]> git.baikalelectronics.ru Git - kernel.git/commit
svcrpc: store gss mech in svc_cred
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 14 May 2013 20:07:13 +0000 (16:07 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 1 Jul 2013 21:23:06 +0000 (17:23 -0400)
commitb7339a9f06d013f3ad5d268bb3f27d1103b9e6e6
tree3bed6a56a709b4781d8108f7a5b7546a6685fd09
parent756266c30e4a957e001c6c23c4df1380c04f2d79
svcrpc: store gss mech in svc_cred

Store a pointer to the gss mechanism used in the rq_cred and cl_cred.
This will make it easier to enforce SP4_MACH_CRED, which needs to
compare the mechanism used on the exchange_id with that used on
protected operations.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
include/linux/sunrpc/gss_api.h
include/linux/sunrpc/svcauth.h
net/sunrpc/auth_gss/gss_mech_switch.c
net/sunrpc/auth_gss/svcauth_gss.c