cvs commit: src/sys/vm
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Dec 10 11:52:46 PST 2004
dillon 2004/12/10 11:50:32 PST
DragonFly src repository
Modified files:
sys/vm vnode_pager.c
Log:
Bring in FreeBSD/1.206 by Alan Cox, bde@, and tegge@:
Almost nine years ago, when support for 1TB files was introduced in
revision 1.55, the address parameter to vnode_pager_addr() was changed
from an unsigned 32-bit quantity to a signed 64-bit quantity. However,
an out-of-range check on the address was not updated. Consequently,
memory-mapped I/O on files greater than 2GB could cause a kernel panic.
Since the address is now a signed 64-bit quantity, the problem resolution
is simply to remove a cast.
PR: FreeBSD/73010
Revision Changes Path
1.17 +1 -1 src/sys/vm/vnode_pager.c
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vnode_pager.c.diff?r1=1.16&r2=1.17&f=u
More information about the Commits
mailing list