[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2002/08/01 10:41:33

Modified files:
	sys/ufs/ffs    : ffs_vfsops.c 

Log message:
Limit max file size based on PAGE_SIZE.  Even though ffs can handle
files up to 16TB, we do limit the max file to 2^31 pages to prevent
overflow of a 32-bit unsigned int.  The buffer cache has its own
checks but a little added paranoia never hurts.  Adapted from a patch
in FreeBSD.



Visit your host, monkey.org