OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Otto Moerbeek (ottocvs.openbsd.org)
Date: Fri Aug 22 2008 - 12:14:57 CDT


CVSROOT: /cvs
Module name: src
Changes by: ottocvs.openbsd.org 2008/08/22 11:14:57

Modified files:
        lib/libc/stdlib: Makefile.inc malloc.c

Log message:
Smarter implementation of calloc(3), which uses the fact that mmap(2)
returns zero filled pages; remember to replace this function as well if you
provide your own malloc implementation; ok djm deraadt