Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Mention that defining the GPIO layout is subj...



details:   https://anonhg.NetBSD.org/src/rev/4b77bdc3143b
branches:  trunk
changeset: 746904:4b77bdc3143b
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Sun Aug 23 10:20:41 2009 +0000

description:
Mention that defining the GPIO layout is subject to kauth(9) auhtorization.
Suggested by Elad Efrat.

diffstat:

 share/man/man4/gpio.4 |  15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r c1afc21c2998 -r 4b77bdc3143b share/man/man4/gpio.4
--- a/share/man/man4/gpio.4     Sun Aug 23 09:05:44 2009 +0000
+++ b/share/man/man4/gpio.4     Sun Aug 23 10:20:41 2009 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: gpio.4,v 1.12 2009/08/01 15:52:55 mbalmer Exp $
+.\" $NetBSD: gpio.4,v 1.13 2009/08/23 10:20:41 mbalmer Exp $
 .\"    $OpenBSD: gpio.4,v 1.5 2004/11/23 09:39:29 reyk Exp $
 .\"
 .\" Copyright (c) 2004 Alexander Yurchenko <grange%openbsd.org@localhost>
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd August 1, 2009
+.Dd August 23, 2009
 .Dt GPIO 4
 .Os
 .Sh NAME
@@ -52,8 +52,15 @@
 .Xr ioctl 2
 calls on these devices.
 .Pp
-The layout of the GPIO device is defined at a securelevel less than
-1, i.e. typically during system boot, and cannot be changed later.
+Whether the layout of the GPIO device can be configured is subject to
+authorization by the
+.Xr kauth 9
+framework.
+.Pp
+If the
+.Xr secmodel_securelevel 9
+is active, e.g., the layout of the GPIO device is defined at a securelevel
+less than 1, i.e. typically during system boot, and cannot be changed later.
 GPIO pins can be configured and given a symbolic name and device drivers
 that use GPIO pins can be attached to the
 .Nm



Home | Main Index | Thread Index | Old Index