From owner-freebsd-hackers Sat Nov 16 09:23:03 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA08783 for hackers-outgoing; Sat, 16 Nov 1996 09:23:03 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA08765 for ; Sat, 16 Nov 1996 09:22:48 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id SAA21761; Sat, 16 Nov 1996 18:21:43 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id SAA08281; Sat, 16 Nov 1996 18:21:42 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id RAA05994; Sat, 16 Nov 1996 17:54:22 +0100 (MET) From: J Wunsch Message-Id: <199611161654.RAA05994@uriah.heep.sax.de> Subject: Re: Q: How to read hardware port ? *HELP* To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sat, 16 Nov 1996 17:54:22 +0100 (MET) Cc: ts@polynet.lviv.ua (Slavik Terletsky) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <328C9983.41C6@polynet.lviv.ua> from Slavik Terletsky at "Nov 15, 96 06:25:40 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)