New libc malloc patch

Ulrich Spoerlein q at galgenberg.net
Wed Nov 30 11:10:27 GMT 2005


Jason Evans wrote:
> * The virtual memory size of processes, as reported in the SIZE field by top, will appear 
> astronomical for almost all processes (32+ MB).  This is expected; it is merely an artifact 
> of using large mmap()ed regions rather than sbrk().

Hi,

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.

If the security features of OpenBSDs new malloc() could be implemented
as new MALLOC_OPTIONS directives, that would be fantastic!

Ulrich Spoerlein
-- 
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?
-------------- 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/20051130/3df0863e/attachment.bin


More information about the freebsd-current mailing list