> > > Though doug didn't say so, I think the equivalent code in freeBSD is 
> > > 
> > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) {
> > >   ERROR...
> > > }
> > 
> > Correct, and I find it a little embarassing.  I mean god, what a hack! :-)
> > There has just *got* to be a better way of granting (and checking for)
> > this privilege.
> 
> It's called i386_set_ioperm(), and it has a manpage too.

Tada!  Give that man a chocolate chip cookie! :-)

- Jordan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to