diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-12-14 14:57:12 +0000 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-12-16 12:37:23 -0500 |
commit | 3460f29a27344db8c7af62cafdb961286ef0b6cd (patch) | |
tree | be7c8acc0c8c971114f8136534c613395a4d2951 /fs/lockd/Makefile | |
parent | f6048709391336cf27fb5c1cfca8e792103e5a73 (diff) | |
download | kernel_samsung_smdk4412-3460f29a27344db8c7af62cafdb961286ef0b6cd.zip kernel_samsung_smdk4412-3460f29a27344db8c7af62cafdb961286ef0b6cd.tar.gz kernel_samsung_smdk4412-3460f29a27344db8c7af62cafdb961286ef0b6cd.tar.bz2 |
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>
Diffstat (limited to 'fs/lockd/Makefile')
-rw-r--r-- | fs/lockd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/Makefile b/fs/lockd/Makefile index d0488b3..ca58d64 100644 --- a/fs/lockd/Makefile +++ b/fs/lockd/Makefile @@ -6,5 +6,5 @@ obj-$(CONFIG_LOCKD) += lockd.o lockd-objs-y := clntlock.o clntproc.o clntxdr.o host.o svc.o svclock.o \ svcshare.o svcproc.o svcsubs.o mon.o xdr.o grace.o -lockd-objs-$(CONFIG_LOCKD_V4) += xdr4.o svc4proc.o +lockd-objs-$(CONFIG_LOCKD_V4) += clnt4xdr.o xdr4.o svc4proc.o lockd-objs := $(lockd-objs-y) |