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
..
2010-08-07 10:23:54 +00:00
2010-08-06 23:11:19 +00:00
2010-07-23 11:00:46 +00:00
2010-07-12 10:18:10 +00:00
2010-06-02 17:27:23 +00:00
2010-08-02 22:26:08 +00:00
2010-05-24 16:27:47 +00:00
2010-08-11 16:53:45 +00:00
2010-08-08 14:37:16 +00:00
2010-02-21 01:12:18 +00:00