*BSD News Article 58633


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!news.ecn.uoknor.edu!news.cis.okstate.edu!col.hp.com!nntp.coast.net!howland.reston.ans.net!agate!sunsite.doc.ic.ac.uk!demon!prds-grn.demon.co.uk!prds-grn!t.d.g.sandford
From: t.d.g.sandford@prds-grn.demon.co.uk (Thomas D.G. Sandford)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ioperm call on FreeBSD?
Date: 30 Dec 1995 23:18:46 GMT
Organization: Paradise Green Technical Services
Lines: 23
Message-ID: <4c4hcm$ur@prds-grn.demon.co.uk>
References: <DKEMoG.C19@midway.uchicago.edu> <4c49he$f8v@uriah.heep.sax.de>
NNTP-Posting-Host: localhost.demon.co.uk
X-NNTP-Posting-Host: prds-grn.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

J Wunsch (j@uriah.heep.sax.de) wrote:
: Tim Pierce <twpierce@midway.uchicago.edu> writes:
: > There is apparently a Linux `ioperm' system call that is used to
: > set permissions on various I/O ports..........
:
: .............
:
: The only way on FreeBSD is to open /dev/io, which will grant the
: process access to any and all IO registers (the permissions of /dev/io
: should be fairly restrictive, in order to prevent abusing it).  Be
: careful with your application, triple-check that all IO accesses are
: to the intented ports.
: .............

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

--
Thomas Sandford | t.d.g.sandford@prds-grn.demon.co.uk

Paradise Green Technical Services: Software/Hardware Design
                                   and Theatre Technical Services