Date: Sun, 20 Oct 1996 06:20:59 -0700 (PDT) From: Poul-Henning Kamp <phk> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <199610201320.GAA16912@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 96/10/20 06:20:58 Modified: lib/libc/stdlib malloc.c Log: malloc_pages should be static. Add progname to warning/error message layout. (joerg) Remove inline assembler, no speed impact, not need for the obfuscation (bde) Remove on the fly calculation of parameters, no longer critical. Make D & U flags valid even if we don't support them. Don't call imalloc until we're done initializing. Zap contents on free() if we have "Junk" set. [*] Various nitpicking. [*] As a sideeffect of this change, if you are worried about sensitive data lingering in memory, you can use the 'Junk' option now to make sure phkmalloc zaps memory when it is returned. add char * malloc_options = "J"; to your source. Obviously there is a performance impact. Revision Changes Path 1.16 +103 -187 src/lib/libc/stdlib/malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610201320.GAA16912>