summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-08-01 16:41:34 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-08-01 16:41:34 +0000
commit8e8f6bff4be30b660aaa84e51d775660ae6c2e08 (patch)
tree9d4b457d676e91652021626eab62109d578a0c39 /sys/arch/sparc64/dev
parent163ff7cc1df3bfd5884fd336d4097e265c62b1cf (diff)
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.
Diffstat (limited to 'sys/arch/sparc64/dev')
0 files changed, 0 insertions, 0 deletions