From owner-cvs-all Sun Jun 23 15:35: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 66D6837B400; Sun, 23 Jun 2002 15:34:58 -0700 (PDT) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5NMYwZ40197; Sun, 23 Jun 2002 15:34:58 -0700 (PDT) (envelope-from iedowse) Message-Id: <200206232234.g5NMYwZ40197@freefall.freebsd.org> From: Ian Dowse Date: Sun, 23 Jun 2002 15:34:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c src/sbin/fsck pass1.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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