android_kernel_xiaomi_sdm845/net/sunrpc
J. Bruce Fields d922a84a8b rpcgss: krb5: sanity check sealalg value in the downcall
The sealalg is checked in several places, giving the impression it could be
either SEAL_ALG_NONE or SEAL_ALG_DES.  But in fact SEAL_ALG_NONE seems to
be sufficient only for making mic's, and all the contexts we get must be
capable of wrapping as well.  So the sealalg must be SEAL_ALG_DES.  As
with signalg, just check for the right value on the downcall and ignore it
otherwise.  Similarly, tighten expectations for the sealalg on incoming
tokens, in case we do support other values eventually.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-12-06 10:46:47 -05:00
..
auth_gss rpcgss: krb5: sanity check sealalg value in the downcall 2006-12-06 10:46:47 -05:00
auth_null.c [SUNRPC]: trivial endianness annotations 2006-09-28 18:01:21 -07:00
auth_unix.c [SUNRPC]: trivial endianness annotations 2006-09-28 18:01:21 -07:00
auth.c [SUNRPC]: trivial endianness annotations 2006-09-28 18:01:21 -07:00
cache.c [PATCH] knfsd: fix race related problem when adding items to and svcrpc auth cache 2006-08-06 08:57:47 -07:00
clnt.c SUNRPC: Remove BKL around the RPC socket operations etc. 2006-12-06 10:46:30 -05:00
Makefile [PATCH] RPC: introduce client-side transport switch 2005-09-23 12:38:12 -04:00
pmap_clnt.c SUNRPC: another pmap wakeup fix 2006-12-06 10:46:42 -05:00
rpc_pipe.c [PATCH] r/o bind mount prepwork: inc_nlink() helper 2006-10-01 00:39:30 -07:00
sched.c SUNRPC: Remove BKL around the RPC socket operations etc. 2006-12-06 10:46:30 -05:00
socklib.c [NET]: Annotate callers of the reset of checksum.h stuff. 2006-12-02 21:23:34 -08:00
stats.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
sunrpc_syms.c Fix a second potential rpc_wakeup race... 2006-12-06 10:46:25 -05:00
svc.c [PATCH] knfsd: Allow lockd to drop replies as appropriate 2006-10-17 08:18:46 -07:00
svcauth_unix.c [SUNRPC]: annotate hash_ip() 2006-12-02 21:21:16 -08:00
svcauth.c [PATCH] sunrpc: add missing spin_unlock 2006-11-06 01:46:23 -08:00
svcsock.c [PATCH] fix "sunrpc: fix refcounting problems in rpc servers" 2006-10-30 12:12:21 -08:00
sysctl.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
timer.c SUNRPC: remove extraneous header inclusions 2006-09-22 23:24:47 -04:00
xdr.c rpc: move process_xdr_buf 2006-12-06 10:46:44 -05:00
xprt.c SUNRPC: Make the transport-specific setup routine allocate rpc_xprt 2006-12-06 10:46:34 -05:00
xprtsock.c SUNRPC: Make the transport-specific setup routine allocate rpc_xprt 2006-12-06 10:46:34 -05:00