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 03:09:22 PST 2006


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)


More information about the cvs-src mailing list