Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 05/28/2000 03:21:56
Module Name: syssrc
Committed By: drochner
Date: Sun May 28 10:21:56 UTC 2000
Modified Files:
syssrc/sys/uvm: uvm_device.c uvm_device.h
Log Message:
Don't silently truncate the voff_t offset to vaddr_t when passing it to
udv_attach. Pass the whole voff_t instead and do an explicite overflow
check before it is passed to the device's mmap handler (as "int", sadly).
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 syssrc/sys/uvm/uvm_device.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/uvm/uvm_device.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.