CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/05/08 14:08:50
Modified files:
sys/uvm : uvm_aobj.c uvm_fault.c uvm_object.c
uvm_object.h uvm_pager.c uvm_swap.c uvm_vnode.c
Log message:
Fix some potential integer overflows caused by converting a page number into
an offset/size/address by shifting by PAGE_SHIFT. Make uvm_objwrire/unwire
use voff_t instead of off_t. The former is the right type here even if it is
equivalent to the latter.
Inspired by a somewhat similar changes in Bitrig.
ok deraadt@, guenther@