cvs commit: src/lib/libc/stdlib malloc.3 malloc.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Feb 12 13:19:24 PST 2006
dillon 2006/02/12 13:19:07 PST
DragonFly src repository
Modified files:
lib/libc/stdlib malloc.3 malloc.c
Log:
Bring in a bunch of malloc features from OpenBSD and fundamentally change
the core allocation code to use mmap() instead of brk/sbrk(). Most of the
new options are off by default, see the new manual page for more information.
* guard pages and chunk randomization
* free page protection
* malloc stats(dump)
* pointer guard
* no longer uses brk/sbrk
* updated man page
Submitted-by: "Kevin L. Kane" <kevin.kane at xxxxxxxxx>
Porting-work-by: "Kevin L. Kane" <kevin.kane at xxxxxxxxx>
Revision Changes Path
1.6 +27 -9 src/lib/libc/stdlib/malloc.3
1.11 +1154 -490 src/lib/libc/stdlib/malloc.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/malloc.3.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/malloc.c.diff?r1=1.10&r2=1.11&f=u
More information about the Commits
mailing list