Messages in this thread |  | | | From | "Henrique de Moraes Holschuh" <> | | Subject | Re: Reading /dev/mem by dd | | Date | Thu, 12 Nov 2009 15:37:34 -0200 |
| |
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
|  |