Date: Wed, 27 Jul 2011 02:49:48 -0400 From: grarpamp <grarpamp@gmail.com> To: freebsd-security@freebsd.org Subject: Malloc -Z Message-ID: <CAD2Ti2_xCSzjB6eC0pUU6DHj7OSsmE_E4ikgDRx=CU3un64LoA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Was reading malloc(3) while chasing corruption suspects. Does the presence of -Z imply that without it, programs can be allocated dirty (non-zeroed) memory? If so, it seems running with -Z would be prudent if one cares. Therefore, what is the rough percent performance impact of -Z compared to default malloc? Bonus: What would be needed to make the useful streams: /dev/one /dev/10 /dev/01 In addition to /dev/zero.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD2Ti2_xCSzjB6eC0pUU6DHj7OSsmE_E4ikgDRx=CU3un64LoA>