From owner-freebsd-hackers Thu Oct 23 14:29:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA29110 for hackers-outgoing; Thu, 23 Oct 1997 14:29:17 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.5.84]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA29105 for ; Thu, 23 Oct 1997 14:29:15 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.7/8.8.7) id OAA12707; Thu, 23 Oct 1997 14:29:00 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp03.primenet.com, id smtpd012699; Thu Oct 23 14:28:58 1997 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id OAA06900; Thu, 23 Oct 1997 14:28:51 -0700 (MST) From: Terry Lambert Message-Id: <199710232128.OAA06900@usr05.primenet.com> Subject: Re: Possible SERIOUS bug in open()? (Big time bug) To: jamil@trojanhorse.ml.org (Jamil J. Weatherbee) Date: Thu, 23 Oct 1997 21:28:51 +0000 (GMT) Cc: tlambert@primenet.com, thorpej@nas.nasa.gov, joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Jamil J. Weatherbee" at Oct 23, 97 10:54:24 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Yep, tried reading an ioport on my service providers freebsd machine, > works fine. /dev/io is probably not the first and probably won't be the > last driver with this problem, in other works force to F_READ or F_WRITE. > That is precisely what I did in my dio driver because I depend on F_WRITE > and/or F_READ to be set to tell me about what the user wants. I agree; this is a driver issue; the driver should enforce permissions when the user attempts the outb. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.