Viacheslav Fedorov, le Mon 01 Apr 2013 11:11:44 -0500, a écrit :
> I was wondering, when allocating an anonymous physical page on a Page Fault,
> why does kernel have to fill it with zeroes?
> I understand it has something to do with security.
> But let's say I trust my environment. Then why when I disable zeroing of the
> allocated pages, the applications crash in libc?

See man mmap. Anonymous memory is explicitly documented as being set to
0.

Samuel


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130401163113.gf17...@type.youpi.perso.aquilenet.fr

Reply via email to