>  IMHO, I feel mem could have been restricted to device addresses rather than 
> memory address.
> Though at this point I do not know whether it servers any bigger purpose.

Clever point - and actually there is a configuration option in the
kernel that does what you describe since 2.6.27:

http://cateee.net/lkddb/web-lkddb/STRICT_DEVMEM.html

If set, access through /dev/mem is restricted to memory-mapped devices.

Alex.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to