lkml.org 
[lkml]   [2009]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Reading /dev/mem by dd
Date
On Thu, 12 Nov 2009 17:44 +0100, "Andi Kleen" <andi@firstfloor.org> wrote:
> Henrique de Moraes Holschuh <hmh@hmh.eng.br> writes:
> > IMO: if you're going to provide /dev/mem, make it as safe as
> > possible.
>
> That would also make it useless for people who want to access MMIO
> using /dev/mem. Which is a lot of programs.

In this case, the problem seems to be access over /dev/mem to stuff the
kernel is already taking care of. Certainly "as safe as possible" does
not have to mean making /dev/mem useless for whatever good uses it has.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh



\
 
 \ /
  Last update: 2009-11-12 18:39    [from the cache]
©2003-2011 Jasper Spaans