Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 21:22:13 -0800
From:      "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
To:        Mike Smith <msmith@FreeBSD.ORG>
Cc:        Julian Elischer <julian@whistle.com>, Doug Rabson <dfr@nlsystems.com>, Theo van Klaveren <havoc@Cal30B054.student.utwente.nl>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Question about GLIDE... 
Message-ID:  <89675.946012933@zippy.cdrom.com>
In-Reply-To: Your message of "Thu, 23 Dec 1999 21:11:50 PST." <199912240511.VAA00684@mass.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89675.946012933>