Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 09/30/2006 20:05:58
Module Name:	src
Committed By:	elad
Date:		Sat Sep 30 20:05:58 UTC 2006

Modified Files:
	src/share/man/man9: kauth.9
	src/sys/arch/hp300/dev: dcm.c
	src/sys/arch/i386/isa: pccons.c
	src/sys/kern: kern_auth.c
	src/sys/secmodel/bsd44: secmodel_bsd44_suser.c suser.h
	src/sys/sys: kauth.h

Log Message:
Implement the "device" scope.

It uses an authorization wrapper per device class on the system to
ensure type-safety.

For now, it supports only terminal (TTY) devices, and has two actions
for them: "open terminal" and "privileged set". Sample usage has been
added to i386 and hp300 code for reference.

Update documentation.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/share/man/man9/kauth.9
cvs rdiff -r1.74 -r1.75 src/sys/arch/hp300/dev/dcm.c
cvs rdiff -r1.178 -r1.179 src/sys/arch/i386/isa/pccons.c
cvs rdiff -r1.24 -r1.25 src/sys/kern/kern_auth.c
cvs rdiff -r1.6 -r1.7 src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
cvs rdiff -r1.1 -r1.2 src/sys/secmodel/bsd44/suser.h
cvs rdiff -r1.9 -r1.10 src/sys/sys/kauth.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.