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 /security | |
parent | f6048709391336cf27fb5c1cfca8e792103e5a73 (diff) | |
download | linux-3.10-3460f29a27344db8c7af62cafdb961286ef0b6cd.tar.gz linux-3.10-3460f29a27344db8c7af62cafdb961286ef0b6cd.tar.bz2 linux-3.10-3460f29a27344db8c7af62cafdb961286ef0b6cd.zip |
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 'security')
0 files changed, 0 insertions, 0 deletions