Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 07/04/1997 20:30:02
drochner
Fri Jul 4 13:22:13 PDT 1997
Update of /cvsroot/src/sys/nfs
In directory netbsd1:/var/slash-tmp/cvs-serv9735/nfs
Modified Files:
nfs_bio.c nfs_subs.c nfs_vnops.c
Log Message:
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.
drochner
Fri Jul 4 13:22:15 PDT 1997
Update of /cvsroot/src/sys/ufs/ext2fs
In directory netbsd1:/var/slash-tmp/cvs-serv9735/ufs/ext2fs
Modified Files:
ext2fs_inode.c ext2fs_readwrite.c
Log Message:
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.
drochner
Fri Jul 4 13:22:17 PDT 1997
Update of /cvsroot/src/sys/ufs/ffs
In directory netbsd1:/var/slash-tmp/cvs-serv9735/ufs/ffs
Modified Files:
ffs_balloc.c ffs_inode.c
Log Message:
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.
drochner
Fri Jul 4 13:22:19 PDT 1997
Update of /cvsroot/src/sys/ufs/lfs
In directory netbsd1:/var/slash-tmp/cvs-serv9735/ufs/lfs
Modified Files:
lfs_alloc.c lfs_inode.c
Log Message:
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.
drochner
Fri Jul 4 13:22:20 PDT 1997
Update of /cvsroot/src/sys/ufs/ufs
In directory netbsd1:/var/slash-tmp/cvs-serv9735/ufs/ufs
Modified Files:
ufs_readwrite.c
Log Message:
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.
drochner
Fri Jul 4 13:22:23 PDT 1997
Update of /cvsroot/src/sys/vm
In directory netbsd1:/var/slash-tmp/cvs-serv9735/vm
Modified Files:
vm_extern.h vm_mmap.c vnode_pager.c
Log Message:
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.