*BSD News Article 58867


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!EU.net!Austria.EU.net!news.aut.alcatel.at!atusc74!ladavac
From: ladavac@aut.alcatel.at (Marino Ladavac)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ioperm call on FreeBSD?
Date: 5 Jan 1996 12:51:23 GMT
Organization: Alcatel Austria AG
Lines: 19
Message-ID: <4cj6sb$gip@atusks02.aut.alcatel.at>
References: <DKEMoG.C19@midway.uchicago.edu> <4c49he$f8v@uriah.heep.sax.de> <4c4hcm$ur@prds-grn.demon.co.uk> <4c8ifo$30e@uriah.heep.sax.de>
NNTP-Posting-Host: atusc74.aut.alcatel.at
X-Newsreader: TIN [version 1.2 PL2]

J Wunsch (j@uriah.heep.sax.de) wrote:
: t.d.g.sandford@prds-grn.demon.co.uk (Thomas D.G. Sandford) writes:

: > Is there any documentation on how to use /dev/io ? - I can't find a man
: > page anywhere. 

What would be yet better (and it is partially in the kernel, ifndeffed with
not yet, is /dev/iomem which gives a low grain access to the iomap, but is
a special file rather than a system call.

iomem access control being granted through a special file makes it possible
for the program to execute setgid iomem, rather than setuid root, even though
the point is moot since the iomem hole is big enough to allow the program
programmed io to the disc...  Still, cosmetically speaking :)

I'm not volunteering :)  Intel arcana is too deep for the aging remaining
braincells in my head.

/Alby