[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Marc Balmer <mbalmer_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Wed, 26 Nov 2008 07:51:20 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: mbalmer_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/11/26 07:51:20
Modified files:
sys/sys : gpio.h
sys/dev/gpio : gpiovar.h gpio.c
Log message:
Change the semantics of gpio(4) devices by locking down pin
configuration and device attachment/detachment to securelevel 0.
GPIO pins can now only be configured at securelevel 0. Once the
securelevel is raised, only pins that have been configured and set
for securelevel access using the GPIOPINSET ioctl are accessible.
This also adds the possibility to give GPIO pins a name.
ok uwe@
Visit your host, monkey.org