HardenedBSD/sys/vm
David Greenman 6cde7a165f Fixed two potentially serious classes of bugs:
1) The vnode pager wasn't properly tracking the file size due to
   "size" being page rounded in some cases and not in others.
   This sometimes resulted in corrupted files. First noticed by
   Terry Lambert.
   Fixed by changing the "size" pager_alloc parameter to be a 64bit
   byte value (as opposed to a 32bit page index) and changing the
   pagers and their callers to deal with this properly.
2) Fixed a bogus type cast in round_page() and trunc_page() that
   caused some 64bit offsets and sizes to be scrambled. Removing
   the cast required adding casts at a few dozen callers.
   There may be problems with other bogus casts in close-by
   macros. A quick check seemed to indicate that those were okay,
   however.
1998-10-13 08:24:45 +00:00
..
default_pager.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
default_pager.h
device_pager.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
pmap.h
swap_pager.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
swap_pager.h
vm_extern.h
vm_fault.c Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
vm_glue.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_inherit.h
vm_init.c
vm_kern.c Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
vm_kern.h
vm_map.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_map.h
vm_meter.c
vm_mmap.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_object.c Be more selctive about when we clear p->valid. 1998-09-28 02:40:11 +00:00
vm_object.h
vm_page.c Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
vm_page.h Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
vm_pageout.c Make #define NO_SWAPPING a normal kernel config option. 1998-09-29 17:33:59 +00:00
vm_pageout.h
vm_pager.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_pager.h Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_param.h
vm_prot.h
vm_swap.c
vm_unix.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_zone.c Fix a panic on SMP systems, caused by sleeping while holding a 1998-10-09 00:24:49 +00:00
vm_zone.h
vm.h
vnode_pager.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vnode_pager.h Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00