Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Klaus Klein <kleink@netbsd.org>
List: source-changes
Date: 09/06/2005 20:46:38
Module Name: src
Committed By: kleink
Date: Tue Sep 6 20:46:38 UTC 2005
Modified Files:
src/sys/arch/pmax/dev: dc.c dtop.c
src/sys/arch/pmax/tc: scc.c
src/sys/dev/qbus: dhu.c
Log Message:
Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
Also change this to use the proc argument instead of curproc.
To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 src/sys/arch/pmax/dev/dc.c
cvs rdiff -r1.68 -r1.69 src/sys/arch/pmax/dev/dtop.c
cvs rdiff -r1.86 -r1.87 src/sys/arch/pmax/tc/scc.c
cvs rdiff -r1.38 -r1.39 src/sys/dev/qbus/dhu.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.