Date: Thu, 23 Dec 1999 21:11:50 -0800 From: Mike Smith <msmith@freebsd.org> To: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> 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: <199912240511.VAA00684@mass.cdrom.com> In-Reply-To: Your message of "Thu, 23 Dec 1999 19:57:25 PST." <89201.946007845@zippy.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. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com 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?199912240511.VAA00684>