Messages in this thread | | | Date | Tue, 14 Sep 1999 22:54:56 +0200 | From | Jamie Lokier <> | Subject | Re: only root has acces to /dev/mem ? |
| |
Alan Cox wrote: > > Would it be ok to permit opening kmem read-only without raw I/O? > > Some devices can be triggered by read operations. Its probably ok for > almost all cases though
I'd thought of that. I saw that kmem_read refuses to read above high_memory. But you've reminded me that some ISA devices live in low memory.
Perhaps kmem_read should only permit reading ordinary memory mappings? I suggest device access should always go throw /dev/mem anyway.
-- Jamie
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |