New libc malloc patch
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Nov 30 11:18:32 GMT 2005
In message <20051130111017.GA67032 at galgenberg.net>, Ulrich Spoerlein writes:
>I just read that mmap() part and have to wonder: Is it possible to
>introduce something like the guard pages that OpenBSD has implemented?
>I'd love to try this out and see the dozens of applications that fail
>due to off-by-one bugs.
Guard-pages are very expensive and that is why I have not adopted
OpenBSD's patch.
I would advocate that people use one of the dedicated debugging malloc
implementations (ElectricFence ?) instead of putting too much overhead
into our default malloc.
For all practical purposes, the options J, A, X & Z are the most commonly
used.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-current
mailing list