From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hugh Dickins Date: Tue, 06 Dec 2005 18:39:56 +0000 Subject: Re: [PATCH] /dev/mem validate mmap requests Message-Id: List-Id: References: <200512051700.20269.bjorn.helgaas@hp.com> In-Reply-To: <200512051700.20269.bjorn.helgaas@hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, Andrew Morton , Tony Luck , linux-ia64@vger.kernel.org On Mon, 5 Dec 2005, Bjorn Helgaas wrote: > Add a hook so architectures can validate /dev/mem mmap requests. Not a comment on your patch at all, just an FYI in case you've missed it, and in case it makes any difference to your ia64 needs. A side-effect of 2.6.15-rc's PageReserved changes is that a user with access to /dev/mem can now mmap any page of it, and see what's there rather than zeroes, whether or not it has been marked PageReserved. Hugh