Re: [Patch 0/2] powerpc: avoid userspace poking to legacy ioports

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benjamin Herrenschmidt
Date: Monday, February 18, 2008 - 1:42 pm

> Maybe Christian's patch can be improved to not do the check on these?

nonsense.

 /dev/mem exists for example, but you are still not supposed to go
bang all over the place in it.


Dunno, something less scary, like knowing where your sensors are on a
given machine... honestly, it's just scary the risk you guys are taking
by banging random IO ports.

At the very least, that shouldn't be done on non-x86.


It wouldn't, but at least I could NAK it or make it CONFIG_X86 :-)

Ben.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Patch 0/2] add check_legacy_ioport calls to prevent oops, Christian Krafft, (Wed Feb 13, 10:28 am)
Re: [Patch 0/2] powerpc: avoid userspace poking to legacy ..., Christian Krafft, (Wed Feb 13, 10:35 am)
Re: [Patch 2/2] powerpc: i2c-isa: add access check to lega ..., Christian Krafft, (Wed Feb 13, 10:37 am)
Re: [Patch 0/2] powerpc: avoid userspace poking to legacy ..., Benjamin Herrenschmidt, (Wed Feb 13, 1:42 pm)
Re: [Patch 0/2] powerpc: avoid userspace poking to legacy ..., Benjamin Herrenschmidt, (Mon Feb 18, 1:42 pm)
Re: [Patch 0/2] powerpc: avoid userspace poking to legacy ..., Arjan van de Ven, (Mon Feb 18, 2:04 pm)
Re: [Patch 0/2] powerpc: avoid userspace poking to legacy ..., Benjamin Herrenschmidt, (Mon Feb 18, 2:05 pm)