freebsd-skq/sys/nfs
Mike Pritchard 97f1b9871e Add a check to prevent a computation from underflowing and causing
a panic due to an attaempt to allocate a buffer for a terabyte or
so of data when an attempt is made to create sparse data (e.g.
a holey file) more than 1 block past the end of the file.

Note:  some other areas of this code need to be looked at,
since they might cause problems when the file size exceeds 2GB,
due to storing results in ints when the computations are being
done with quad sized variables.

Reviewed by:	bde
1996-01-24 18:52:18 +00:00
..
nfs_bio.c Add a check to prevent a computation from underflowing and causing 1996-01-24 18:52:18 +00:00
nfs_common.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
nfs_common.h Some fixes found using gcc -Wall: 1995-08-24 10:45:16 +00:00
nfs_node.c Second batch of cleanup changes. 1995-10-29 15:33:36 +00:00
nfs_nqlease.c Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
nfs_serv.c Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
nfs_socket.c Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
nfs_srvcache.c Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
nfs_subs.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
nfs_syscalls.c Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
nfs_vfsops.c Don't print swap server as root server. 1995-12-28 21:56:49 +00:00
nfs_vnops.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
nfs.h Staticize. 1995-12-17 21:14:36 +00:00
nfsdiskless.h Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nfsm_subs.h Some fixes found using gcc -Wall: 1995-08-24 10:45:16 +00:00
nfsmount.h Staticize. 1995-12-17 21:14:36 +00:00
nfsnode.h Staticize. 1995-12-17 21:14:36 +00:00
nfsproto.h Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nfsrtt.h Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nfsrvcache.h Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nfsv2.h Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nqnfs.h Staticize. 1995-12-17 21:14:36 +00:00
rpcv2.h Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
xdr_subs.h Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00