Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 1995 01:40:10 -0700 (PDT)
From:      sos@FreeBSD.org
To:        bde@zeta.org.au (Bruce Evans)
Cc:        CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/i386/isa syscons.c
Message-ID:  <199510180840.BAA05580@freefall.freebsd.org>
In-Reply-To: <199510140747.RAA05831@godzilla.zeta.org.au> from "Bruce Evans" at Oct 14, 95 05:47:41 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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



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