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
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jan 31 07:18:25 PST 2006
On Tue, Jan 31, 2006 at 11:09:22AM +0000, Pawel Jakub Dawidek wrote:
+> 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
As I noted above, Kris did some tests with redzone(9) enabled and haven't
found any issues.
We may want to turn it on in HEAD by default for some time, so more code
can be tested.
What do you think? Kris, is there visible overhead with redzone(9)?
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060131/b4942fd7/attachment.bin
More information about the freebsd-current
mailing list