Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 1996 17:54:22 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        ts@polynet.lviv.ua (Slavik Terletsky)
Subject:   Re: Q: How to read hardware port ? *HELP*
Message-ID:  <199611161654.RAA05994@uriah.heep.sax.de>
In-Reply-To: <328C9983.41C6@polynet.lviv.ua> from Slavik Terletsky at "Nov 15, 96 06:25:40 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Slavik Terletsky wrote:

> Say, if i am using port 0x443 and have no driver compiled for it -
> can i read this port at all? (without driver!)

Yes, by keeping a descriptor to the /dev/io security hole device open
in your program.  Hopefully, you must have EUID == 0 in order to do
this.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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