linux_dsm_epyc7002/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
host.c
Makefile lockd: Introduce new-style XDR functions for NLMv4 2010-12-16 12:37:23 -05:00
mon.c
svc4proc.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
svc.c
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
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