gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: give us a hand with arch


From: Momchil Velikov
Subject: Re: [Gnu-arch-users] Re: give us a hand with arch
Date: 03 Oct 2003 11:58:33 +0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Ollivier" == Ollivier Robert <address@hidden> writes:

Ollivier> According to Florian Weimer:
>> present in the page cache.  You won't see it normally, because you
>> cannot read() beyond the end of the file, but mmap() can only map
>> complete pages, so you suddenly see the data (and it was random data
>> from kernel or user space, typically not something which ever was on
>> disk).

Ollivier> Am I the only one that sees that as a potential security problem?

Nope, you aren't.  POSIX requires the system to fill with zeroes the
partial page at the end of the mapping.

~velco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]