Messages in this thread | | | Date | Mon, 3 Apr 2006 11:11:31 +0200 (MEST) | From | Jan Engelhardt <> | Subject | Re: Who wants to test cracklinux?? |
| |
>> is there any difference? I mean... if you can outb you for all intents >> and purposes are root anyway ;) (like you can overwrite any memory in >> the system etc etc) > >There are two clear uses > >#1 Its possible to write such a module to allow only some ports to be >accessed, eg to export a PCI device for learning purposes > You can do parts of that in userspace, which is A Good Thing(tm).
Write a SUID wrapper which ioperm's (or denies it) a range request, opens /dev/mem or /dev/port and then drops privilegues. Voilà.
(Not sure if outb requires root too, besides ioperm.)
Jan Engelhardt -- | |