]> git.hungrycats.org Git - linux/commit
RPCSEC_GSS: Client-side only support for rpcsec_gss integrity
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 7 Feb 2004 15:44:01 +0000 (16:44 +0100)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 7 Feb 2004 15:44:01 +0000 (16:44 +0100)
commit955ac3514fc5eb754827bd69edbe09012b95beb8
tree6cfbc5880a3dce8a8b5396307d9b8dfff08baa90
parent0ca8cb3651edc5932c5ff9ba3f72869bbc8a7ff5
RPCSEC_GSS: Client-side only support for rpcsec_gss integrity
protection. Since this requires checksumming an entire request,
instead of just the header, and since the request may include,
for example, pages with write data, we modify the gss_api
routines to pass xdr_bufs instead of xdr_netobjs where
necessary.

We add rpcauth_wrap_req and rpcauth_unwrap_resp to rpcauth.c,
wrappers for the new rpc cred ops crwrap_req and crunwrap_req,
which are called just before encoding, and just after decoding,
respectively.
14 files changed:
include/linux/sunrpc/auth.h
include/linux/sunrpc/gss_api.h
include/linux/sunrpc/gss_krb5.h
include/linux/sunrpc/xdr.h
net/sunrpc/auth.c
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/auth_gss/gss_krb5_mech.c
net/sunrpc/auth_gss/gss_krb5_seal.c
net/sunrpc/auth_gss/gss_krb5_unseal.c
net/sunrpc/auth_gss/gss_mech_switch.c
net/sunrpc/clnt.c
net/sunrpc/sunrpc_syms.c
net/sunrpc/xdr.c