[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4612C722.1000006@redhat.com>
Date: Tue, 03 Apr 2007 17:29:06 -0400
From: Rik van Riel <riel@...hat.com>
To: Jeremy Fitzhardinge <jeremy@...p.org>
CC: Eric Dumazet <dada1@...mosbay.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Ulrich Drepper <drepper@...hat.com>,
Andi Kleen <andi@...stfloor.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Jakub Jelinek <jakub@...hat.com>, linux-mm@...ck.org,
Hugh Dickins <hugh@...itas.com>
Subject: Re: missing madvise functionality
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists