linux/fs/lockd
Chuck Lever 3460f29a27 lockd: Introduce new-style XDR functions for NLMv4
We'd like to prevent local buffer overflows caused by malicious or
broken servers.  New xdr_stream style decoders can do that.

For efficiency, we also want to be able to pass xdr_streams from
call_encode() to all XDR encoding functions, rather than building
an xdr_stream in every XDR encoding function in the kernel.

Same idea as the NLM v3 XDR overhaul.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2010-12-16 12:37:23 -05:00
..
clnt4xdr.c lockd: Introduce new-style XDR functions for NLMv4 2010-12-16 12:37:23 -05:00
clntlock.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
clntproc.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
clntxdr.c lockd: Introduce new-style XDR functions for NLMv3 2010-12-16 12:37:21 -05:00
grace.c nfsd: common grace period control 2008-10-03 16:19:02 -04:00
host.c NLM: Fix a regression in lockd 2010-11-15 20:44:26 -05:00
Makefile lockd: Introduce new-style XDR functions for NLMv4 2010-12-16 12:37:23 -05:00
mon.c sunrpc: Add net to rpc_create_args 2010-10-01 17:18:56 -04:00
svc4proc.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
svc.c lockd: push lock_flocks down 2010-10-27 21:39:39 +02:00
svclock.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
svcproc.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
svcshare.c
svcsubs.c lockd: push lock_flocks down 2010-10-27 21:39:39 +02:00
xdr4.c lockd: Introduce new-style XDR functions for NLMv4 2010-12-16 12:37:23 -05:00
xdr.c lockd: Introduce new-style XDR functions for NLMv3 2010-12-16 12:37:21 -05:00