Jeremy Fitzhardinge wrote:
Eric Dumazet wrote:
mmap()/brk() must give fresh NULL pages, but maybe
madvise(MADV_DONTNEED) can relax this requirement (if the pages were
reclaimed, then a page fault could bring a new page with random content)

Only if those pages were originally from that process.  Otherwise you've
got a bit of an information leak there.

Or from another process by the same user, in the same security
context.  That gets a bit more complex though :)

--
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is.  Each group
calls the other unpatriotic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to