[wplug] I/O permission

Weber, Larry A laweber at switch.com
Wed Aug 6 09:59:50 EDT 2003


I have an I/O mapped (ISA) I/O board in my PC.  In 'C' I can get permission
to access it as root using:

ioperm (BASEPORT, 8, 1);

and then outb (......

(BASEPORT is 0x300, there are no conflicts.)

When I run as a user the ioperm function denies access.  I believe I need to
change the permissions of the I/O port, as I do for program access to the
serial and parallel ports.  Any idea how to change permissions on a group of
I/O port addresses?

-laweber




More information about the wplug mailing list