Bring in a bunch of malloc features from OpenBSD and fundamentally change
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 12 Feb 2006 21:19:07 +0000 (21:19 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 12 Feb 2006 21:19:07 +0000 (21:19 +0000)
commit73d7124652b70e5db6983b8f973813831dab6a48
tree69665400ec1265c33cbbed72089c3f65d5064bef
parent1e846160dccc1894a385ffecf6c1ace728f5ecab
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@gmail.com>
Porting-work-by: "Kevin L. Kane" <kevin.kane@gmail.com>
lib/libc/stdlib/malloc.3
lib/libc/stdlib/malloc.c