From owner-freebsd-commit Wed Oct 18 01:41:58 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA05660 for freebsd-commit-outgoing; Wed, 18 Oct 1995 01:41:58 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA05605 for cvs-all-outgoing; Wed, 18 Oct 1995 01:40:33 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA05594 for cvs-sys-outgoing; Wed, 18 Oct 1995 01:40:29 -0700 Received: (from sos@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA05580 ; Wed, 18 Oct 1995 01:40:14 -0700 Message-Id: <199510180840.BAA05580@freefall.freebsd.org> Subject: Re: cvs commit: src/sys/i386/isa syscons.c To: bde@zeta.org.au (Bruce Evans) Date: Wed, 18 Oct 1995 01:40:10 -0700 (PDT) Cc: CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199510140747.RAA05831@godzilla.zeta.org.au> from "Bruce Evans" at Oct 14, 95 05:47:41 pm From: sos@FreeBSD.org Reply-to: sos@FreeBSD.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 957 Sender: owner-commit@FreeBSD.org Precedence: bulk In reply to Bruce Evans who wrote: > > > Modified: sys/i386/isa syscons.c > > Log: > > Don't allow i/o operations for non-root users. > > This change should probably be in 2.1, but I'm not sure if it breaks > anything. pcvt has restricted i// privilege to root for a long time. > > i/o privilege should never have been granted in devices other than > /dev/io. /dev/io has its own permissions which can be used to grant > i/o privilege to a more selective group than root || { anyone that > can talk to a ttyv }. Strange, I havn't been able to use I/O ports on my system as a regular user for ages now (I think it change when we switched to the lite tree). I thought this had been fixed somewhere else in the system, very strange endeed.... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org | sos@login.dknet.dk) FreeBSD Core Team So much code to hack -- so little time