Date: Tue, 31 Jan 2006 11:09:22 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_malloc.c src/share/man/man9 Makefile redzone.9 src/sys/vm redzone.c redzone.h src/sys/conf NOTES files options Message-ID: <200601311109.k0VB9MRq025366@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2006-01-31 11:09:22 UTC
FreeBSD src repository
Modified files:
sys/kern kern_malloc.c
share/man/man9 Makefile
sys/conf NOTES files options
Added files:
share/man/man9 redzone.9
sys/vm redzone.c redzone.h
Log:
Add buffer corruption protection (RedZone) for kernel's malloc(9).
It detects both: buffer underflows and buffer overflows bugs at runtime
(on free(9) and realloc(9)) and prints backtraces from where memory was
allocated and from where it was freed.
Tested by: kris
Revision Changes Path
1.269 +1 -0 src/share/man/man9/Makefile
1.1 +123 -0 src/share/man/man9/redzone.9 (new)
1.1348 +6 -0 src/sys/conf/NOTES
1.1089 +1 -0 src/sys/conf/files
1.527 +3 -0 src/sys/conf/options
1.152 +22 -1 src/sys/kern/kern_malloc.c
1.1 +181 -0 src/sys/vm/redzone.c (new)
1.1 +38 -0 src/sys/vm/redzone.h (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601311109.k0VB9MRq025366>
