Subject: PR/31126 CVS commit: src/sys
To: None <,,>
From: Klaus Klein <>
List: netbsd-bugs
Date: 09/06/2005 21:41:02
The following reply was made to PR kern/31126; it has been noted by GNATS.

From: Klaus Klein <>
Subject: PR/31126 CVS commit: src/sys
Date: Tue,  6 Sep 2005 21:40:45 +0000 (UTC)

 Module Name:	src
 Committed By:	kleink
 Date:		Tue Sep  6 21:40:45 UTC 2005
 Modified Files:
 	src/sys/arch/alpha/alpha: promcons.c
 	src/sys/arch/amiga/dev: ite.c mfc.c msc.c ser.c
 	src/sys/arch/arc/dev: pccons.c
 	src/sys/arch/arm/ep93xx: epcom.c
 	src/sys/arch/arm/iomd/console: console.c
 	src/sys/arch/arm/ixp12x0: ixp12x0_com.c
 	src/sys/arch/arm/s3c2xx0: sscom.c
 	src/sys/arch/arm/sa11x0: sa11x0_com.c
 	src/sys/arch/atari/dev: ite.c ser.c zs.c
 	src/sys/arch/bebox/isa: pccons.c
 	src/sys/arch/evbarm/dev: plcom.c
 	src/sys/arch/hp300/dev: dcm.c ite.c
 	src/sys/arch/hpcmips/tx: txcom.c
 	src/sys/arch/i386/isa: pccons.c
 	src/sys/arch/luna68k/dev: siotty.c
 	src/sys/arch/macppc/dev: z8530tty.c
 	src/sys/arch/mips/alchemy/dev: aucom.c
 	src/sys/arch/mips/sibyte/dev: sbjcn.c sbscn.c
 	src/sys/arch/pc532/dev: scn.c
 	src/sys/arch/pmax/dev: rcons.c
 	src/sys/arch/sh3/dev: sci.c scif.c
 	src/sys/arch/shark/shark: pccons.c
 	src/sys/arch/sparc/dev: kd.c
 	src/sys/arch/sparc64/dev: kd.c
 	src/sys/arch/sun2/dev: kd.c
 	src/sys/arch/sun3/dev: kd.c
 	src/sys/arch/vax/vax: gencons.c
 	src/sys/arch/x68k/dev: com.c ite.c
 	src/sys/arch/xen/xen: xencons.c
 	src/sys/dev/arcbios: arcbios_tty.c
 	src/sys/dev/dec: dz.c
 	src/sys/dev/hpc: biconsdev.c
 	src/sys/dev/ic: cd18xx.c com.c cy.c z8530tty.c
 	src/sys/dev/marvell: gtmpsc.c
 	src/sys/dev/pci: cz.c
 	src/sys/dev/qbus: dl.c
 	src/sys/dev/sbus: magma.c spif.c
 	src/sys/dev/usb: ucom.c ucycom.c
 	src/sys/dev/wscons: wsdisplay.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.
 To generate a diff of this commit:
 cvs rdiff -r1.24 -r1.25 src/sys/arch/alpha/alpha/promcons.c
 cvs rdiff -r1.70 -r1.71 src/sys/arch/amiga/dev/ite.c
 cvs rdiff -r1.36 -r1.37 src/sys/arch/amiga/dev/mfc.c
 cvs rdiff -r1.29 -r1.30 src/sys/arch/amiga/dev/msc.c
 cvs rdiff -r1.69 -r1.70 src/sys/arch/amiga/dev/ser.c
 cvs rdiff -r1.39 -r1.40 src/sys/arch/arc/dev/pccons.c
 cvs rdiff -r1.3 -r1.4 src/sys/arch/arm/ep93xx/epcom.c
 cvs rdiff -r1.12 -r1.13 src/sys/arch/arm/iomd/console/console.c
 cvs rdiff -r1.20 -r1.21 src/sys/arch/arm/ixp12x0/ixp12x0_com.c
 cvs rdiff -r1.12 -r1.13 src/sys/arch/arm/s3c2xx0/sscom.c
 cvs rdiff -r1.20 -r1.21 src/sys/arch/arm/sa11x0/sa11x0_com.c
 cvs rdiff -r1.46 -r1.47 src/sys/arch/atari/dev/ite.c
 cvs rdiff -r1.25 -r1.26 src/sys/arch/atari/dev/ser.c
 cvs rdiff -r1.43 -r1.44 src/sys/arch/atari/dev/zs.c
 cvs rdiff -r1.34 -r1.35 src/sys/arch/bebox/isa/pccons.c
 cvs rdiff -r1.10 -r1.11 src/sys/arch/evbarm/dev/plcom.c
 cvs rdiff -r1.66 -r1.67 src/sys/arch/hp300/dev/dcm.c
 cvs rdiff -r1.67 -r1.68 src/sys/arch/hp300/dev/ite.c
 cvs rdiff -r1.24 -r1.25 src/sys/arch/hpcmips/tx/txcom.c
 cvs rdiff -r1.172 -r1.173 src/sys/arch/i386/isa/pccons.c
 cvs rdiff -r1.14 -r1.15 src/sys/arch/luna68k/dev/siotty.c
 cvs rdiff -r1.22 -r1.23 src/sys/arch/macppc/dev/z8530tty.c
 cvs rdiff -r1.14 -r1.15 src/sys/arch/mips/alchemy/dev/aucom.c
 cvs rdiff -r1.8 -r1.9 src/sys/arch/mips/sibyte/dev/sbjcn.c
 cvs rdiff -r1.13 -r1.14 src/sys/arch/mips/sibyte/dev/sbscn.c
 cvs rdiff -r1.64 -r1.65 src/sys/arch/pc532/dev/scn.c
 cvs rdiff -r1.60 -r1.61 src/sys/arch/pmax/dev/rcons.c
 cvs rdiff -r1.37 -r1.38 src/sys/arch/sh3/dev/sci.c
 cvs rdiff -r1.40 -r1.41 src/sys/arch/sh3/dev/scif.c
 cvs rdiff -r1.21 -r1.22 src/sys/arch/shark/shark/pccons.c
 cvs rdiff -r1.34 -r1.35 src/sys/arch/sparc/dev/kd.c
 cvs rdiff -r1.33 -r1.34 src/sys/arch/sparc64/dev/kd.c
 cvs rdiff -r1.9 -r1.10 src/sys/arch/sun2/dev/kd.c
 cvs rdiff -r1.42 -r1.43 src/sys/arch/sun3/dev/kd.c
 cvs rdiff -r1.40 -r1.41 src/sys/arch/vax/vax/gencons.c
 cvs rdiff -r1.35 -r1.36 src/sys/arch/x68k/dev/com.c
 cvs rdiff -r1.40 -r1.41 src/sys/arch/x68k/dev/ite.c
 cvs rdiff -r1.8 -r1.9 src/sys/arch/xen/xen/xencons.c
 cvs rdiff -r1.9 -r1.10 src/sys/dev/arcbios/arcbios_tty.c
 cvs rdiff -r1.16 -r1.17 src/sys/dev/dec/dz.c
 cvs rdiff -r1.10 -r1.11 src/sys/dev/hpc/biconsdev.c
 cvs rdiff -r1.10 -r1.11 src/sys/dev/ic/cd18xx.c
 cvs rdiff -r1.235 -r1.236 src/sys/dev/ic/com.c
 cvs rdiff -r1.37 -r1.38 src/sys/dev/ic/cy.c
 cvs rdiff -r1.99 -r1.100 src/sys/dev/ic/z8530tty.c
 cvs rdiff -r1.11 -r1.12 src/sys/dev/marvell/gtmpsc.c
 cvs rdiff -r1.32 -r1.33 src/sys/dev/pci/cz.c
 cvs rdiff -r1.29 -r1.30 src/sys/dev/qbus/dl.c
 cvs rdiff -r1.29 -r1.30 src/sys/dev/sbus/magma.c
 cvs rdiff -r1.2 -r1.3 src/sys/dev/sbus/spif.c
 cvs rdiff -r1.57 -r1.58 src/sys/dev/usb/ucom.c
 cvs rdiff -r1.4 -r1.5 src/sys/dev/usb/ucycom.c
 cvs rdiff -r1.84 -r1.85 src/sys/dev/wscons/wsdisplay.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.