kernel-hacking-2024-linux-s.../fs/nfs
Chuck Lever f796f8b3ae NFS: Introduce new-style XDR decoding functions for NFSv2
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 eventually want to be able to pass xdr_streams
from call_decode() to all XDR decoding functions, rather than building
an xdr_stream in every XDR decoding function in the kernel.

nfs_decode_dirent() is renamed to follow the naming convention of the
other two dirent decoders.

Static helper functions are left without the "inline" directive.  This
allows the compiler to choose automatically how to optimize these for
size or speed.

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:21 -05:00
..
cache_lib.c
cache_lib.h
callback.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
callback.h
callback_proc.c NFS: change stateid to be a union 2010-10-24 18:02:53 -04:00
callback_xdr.c
client.c Merge branch 'for-2.6.37' of git://linux-nfs.org/~bfields/linux 2010-10-26 09:55:25 -07:00
delegation.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
delegation.h
dir.c NFS: Readdir cleanups 2010-12-07 14:09:02 -05:00
direct.c Pure nfs client performance using odirect. 2010-11-22 13:24:42 -05:00
dns_resolve.c sunrpc: use seconds since boot in expiry cache 2010-09-07 19:21:20 -04:00
dns_resolve.h
file.c NFS: Fix fcntl F_GETLK not reporting some conflicts 2010-12-07 19:30:43 -05:00
fscache-index.c
fscache.c
fscache.h
getroot.c new helper: ihold() 2010-10-25 21:26:11 -04:00
idmap.c nfs: testing the wrong variable 2010-10-28 11:18:00 -04:00
inode.c NFS: Fix a memory leak in nfs_readdir 2010-12-02 09:58:00 -05:00
internal.h NFS: Introduce new-style XDR decoding functions for NFSv2 2010-12-16 12:37:21 -05:00
iostat.h
Kconfig lockd: push lock_flocks down 2010-10-27 21:39:39 +02:00
Makefile NFSv4.1: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructure 2010-10-24 18:07:11 -04:00
mount_clnt.c NFS: Fix panic after nfs_umount() 2010-12-10 13:01:50 -05:00
namespace.c
nfs2xdr.c NFS: Introduce new-style XDR decoding functions for NFSv2 2010-12-16 12:37:21 -05:00
nfs3acl.c
nfs3proc.c NFS: readdir with vmapped pages 2010-10-23 15:27:35 -04:00
nfs3xdr.c NFS: Ensure we return the dirent->d_type when it is known 2010-11-22 13:24:48 -05:00
nfs4_fs.h NFS: Readdir plus in v4 2010-10-23 15:27:37 -04:00
nfs4filelayout.c NFSv4.1: Use more sensible names for 'initialize_mountpoint' 2010-10-24 18:07:11 -04:00
nfs4filelayout.h NFSv4.1: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructure 2010-10-24 18:07:11 -04:00
nfs4filelayoutdev.c NFSv4.1: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructure 2010-10-24 18:07:11 -04:00
nfs4namespace.c
nfs4proc.c nfs: Discard ACL cache on mode update 2010-12-07 19:30:42 -05:00
nfs4renewd.c
nfs4state.c Merge branch 'nfs-for-2.6.37' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 2010-10-26 09:52:09 -07:00
nfs4xdr.c NFS: Ensure we return the dirent->d_type when it is known 2010-11-22 13:24:48 -05:00
nfsroot.c NFS: Fix a compile issue in nfs_root 2010-10-26 13:56:42 -04:00
pagelist.c nfs: remove extraneous and problematic calls to nfs_clear_request 2010-12-07 23:02:44 -05:00
pnfs.c NFSv4.1: Use more sensible names for 'initialize_mountpoint' 2010-10-24 18:07:11 -04:00
pnfs.h NFSv4.1: Use more sensible names for 'initialize_mountpoint' 2010-10-24 18:07:11 -04:00
proc.c NFS: Introduce new-style XDR decoding functions for NFSv2 2010-12-16 12:37:21 -05:00
read.c nfs: remove extraneous and problematic calls to nfs_clear_request 2010-12-07 23:02:44 -05:00
super.c nfs: kernel should return EPROTONOSUPPORT when not support NFSv4 2010-12-07 19:30:44 -05:00
symlink.c
sysctl.c NFS: new idmapper 2010-10-07 18:48:49 -04:00
unlink.c a couple of open-coded ihold() introduced by nfs merge 2010-10-29 04:14:48 -04:00
write.c nfs: remove extraneous and problematic calls to nfs_clear_request 2010-12-07 23:02:44 -05:00