1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/vm
Matthew D Fleming e3813573bd Rework memguard(9) to reserve significantly more KVA to detect
use-after-free over a longer time.  Also release the backing pages of
a guarded allocation at free(9) time to reduce the overhead of using
memguard(9).  Allow setting and varying the malloc type at run-time.
Add knobs to allow:

 - randomly guarding memory
 - adding un-backed KVA guard pages to detect underflow and overflow
 - a lower limit on the size of allocations that are guarded

Reviewed by:    alc
Reviewed by:    brueffer, Ulrich Spörlein <uqs spoerlein net> (man page)
Silence from:   -arch
Approved by:    zml (mentor)
MFC after:      1 month
2010-08-11 22:10:37 +00:00
..
default_pager.c
device_pager.c Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created 2010-08-06 09:42:15 +00:00
memguard.c Rework memguard(9) to reserve significantly more KVA to detect 2010-08-11 22:10:37 +00:00
memguard.h Rework memguard(9) to reserve significantly more KVA to detect 2010-08-11 22:10:37 +00:00
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c
swap_pager.h
uma_core.c Add a new column to the output of vmstat -z to indicate the number 2010-06-15 19:28:37 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h Add a new column to the output of vmstat -z to indicate the number 2010-06-15 19:28:37 +00:00
uma.h Add a new column to the output of vmstat -z to indicate the number 2010-06-15 19:28:37 +00:00
vm_contig.c With the demise of page coloring, the page queue macros no longer serve any 2010-07-02 15:02:51 +00:00
vm_extern.h Rework memguard(9) to reserve significantly more KVA to detect 2010-08-11 22:10:37 +00:00
vm_fault.c Use vm_page_prev() instead of vm_page_lookup() in the implementation of 2010-07-02 19:59:18 +00:00
vm_glue.c
vm_init.c Introduce exec_alloc_args(). The objective being to encapsulate the 2010-07-27 17:31:03 +00:00
vm_kern.c Rework memguard(9) to reserve significantly more KVA to detect 2010-08-11 22:10:37 +00:00
vm_kern.h
vm_map.c Introduce a helper function vm_page_find_least(). Use it in several places, 2010-07-04 11:13:33 +00:00
vm_map.h
vm_meter.c
vm_mmap.c Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created 2010-08-06 09:42:15 +00:00
vm_object.c Several cleanups for the r209686: 2010-07-04 19:02:32 +00:00
vm_object.h
vm_page.c Redo the page table page allocation on MIPS, as suggested by 2010-07-21 09:27:00 +00:00
vm_page.h Redo the page table page allocation on MIPS, as suggested by 2010-07-21 09:27:00 +00:00
vm_pageout.c Push down the acquisition of the page queues lock into 2010-07-02 20:56:22 +00:00
vm_pageout.h
vm_pager.c
vm_pager.h Reimplement vm_object_page_clean(), using the fact that vm object memq 2010-07-04 11:26:56 +00:00
vm_param.h
vm_phys.c Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
vm_phys.h Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
vm_reserv.c
vm_reserv.h
vm_unix.c
vm_zeroidle.c
vm.h
vnode_pager.c
vnode_pager.h