Date: Sun, 23 Jun 2002 15:34:58 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c src/sbin/fsck pass1.c Message-ID: <200206232234.g5NMYwZ40197@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/06/23 15:34:58 PDT
Modified files: (Branch: RELENG_4)
sys/ufs/ffs ffs_vfsops.c
sbin/fsck pass1.c
Log:
Enforce a 2^31 * PAGE_SIZE file size limit to ensure that large
files cannot overflow the vm_pindex_t type. This is not an MFC,
since increasing the size of vm_pindex_t as was done in -CURRENT
is not useful or appropriate for RELENG_4.
Note that on the alpha platform this change is not necessary because
vm_pindex_t is 64-bit, but limiting files to 16TB there is unlikely
to cause any problems.
Submitted by: tegge
Revision Changes Path
1.16.2.5 +3 -1 src/sbin/fsck/pass1.c
1.117.2.10 +3 -0 src/sys/ufs/ffs/ffs_vfsops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206232234.g5NMYwZ40197>
