dynamic memory automatically zero'd

Stefan Schulze Frielinghaus stefan at seekline.net
Sun Aug 8 19:56:18 UTC 2010


On Sa, 2010-08-07 at 09:43 -0700, Ulrich Drepper wrote:
[...]
> Anonymous memory returned by mmap must be cleared.  Memory provided by
> sbrk can be cleared and it is on Linux.

I found a couple of messages at the LKML where they talk about zeroing
memory. For example this one:

http://marc.info/?l=linux-kernel&m=110488222915074&w=2

I'm gonna have a deeper look at this tomorrow,
thanks to all of you.

Regards,
Stefan



More information about the users mailing list