[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1258047454.16197.1344913359@webmail.messagingengine.com>
Date: Thu, 12 Nov 2009 15:37:34 -0200
From: "Henrique de Moraes Holschuh" <hmh@....eng.br>
To: "Andi Kleen" <andi@...stfloor.org>
Cc: "Robert Hancock" <hancockrwd@...il.com>,
"Anton D. Kachalov" <mouse@...c.ru>, linux-kernel@...r.kernel.org
Subject: Re: Reading /dev/mem by dd
On Thu, 12 Nov 2009 17:44 +0100, "Andi Kleen" <andi@...stfloor.org> wrote:
> Henrique de Moraes Holschuh <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
--
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