Date: Thu, 23 Dec 1999 22:47:01 -0800 From: Mike Smith <msmith@freebsd.org> To: Julian Elischer <julian@whistle.com> Cc: Mike Smith <msmith@FreeBSD.ORG>, "Jordan K. Hubbard" <jkh@zippy.cdrom.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: <199912240647.WAA01745@mass.cdrom.com> In-Reply-To: Your message of "Thu, 23 Dec 1999 21:31:52 PST." <Pine.BSF.4.10.9912232130010.61026-100000@current1.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> well this one was obviously announced with a lot of fanfare! > I'm glad to see it however! It was announced, and has been referenced many times subsequently. It's only been in the tree since mid-1998, and I suspect that the usual blindness to improvement that greets so many of these little upgrades has erased it from most peoples' memories. (I can even recall bde complaining that the interface wasn't so great (which is true)). > On Thu, 23 Dec 1999, Mike Smith wrote: > > > > > 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?199912240647.WAA01745>