Date: Wed, 11 Aug 2010 22:10:37 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/share/man/man9 memguard.9 src/sys/kern kern_malloc.c src/sys/vm memguard.c memguard.h vm_extern.h vm_kern.c Message-ID: <201008112211.o7BMBt94026067@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdf 2010-08-11 22:10:37 UTC FreeBSD src repository Modified files: share/man/man9 memguard.9 sys/kern kern_malloc.c sys/vm memguard.c memguard.h vm_extern.h vm_kern.c Log: SVN rev 211194 on 2010-08-11 22:10:37Z by mdf 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 Revision Changes Path 1.6 +87 -31 src/share/man/man9/memguard.9 1.175 +21 -18 src/sys/kern/kern_malloc.c 1.9 +288 -256 src/sys/vm/memguard.c 1.5 +16 -5 src/sys/vm/memguard.h 1.95 +1 -0 src/sys/vm/vm_extern.h 1.145 +27 -8 src/sys/vm/vm_kern.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008112211.o7BMBt94026067>