Re: [PATCH 00/10] Enhance /dev/mem to allow read/write of arbitraryphysical addresses

From: Ingo Molnar
Date: Mon Jun 20 2011 - 03:41:53 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> There are some test drivers which really want /dev/mem to work.

Test drivers and test hardware with zero enumeration can use below 4G
addresses just fine.

Also, debugging is not an issue and some non-default kernel or boot
option can enable any sort of device i guess, so my main worry isnt
really security but that we should stand in the way of the apparent
practice of *shipping* user-space drivers that use /dev/mem ...

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/