Source-Changes-HG archive

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

[src/trunk]: src/etc Change 'console' login to use /dev/constty so that its o...



details:   https://anonhg.NetBSD.org/src/rev/5ccf63e10fbb
branches:  trunk
changeset: 552799:5ccf63e10fbb
user:      dsl <dsl%NetBSD.org@localhost>
date:      Fri Oct 03 14:54:20 2003 +0000

description:
Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.

diffstat:

 etc/etc.acorn32/ttys   |  4 ++--
 etc/etc.algor/ttys     |  4 ++--
 etc/etc.alpha/ttys     |  4 ++--
 etc/etc.amd64/ttys     |  4 ++--
 etc/etc.amiga/ttys     |  4 ++--
 etc/etc.arc/ttys       |  4 ++--
 etc/etc.atari/ttys     |  4 ++--
 etc/etc.bebox/ttys     |  4 ++--
 etc/etc.cats/ttys      |  4 ++--
 etc/etc.cesfic/ttys    |  4 ++--
 etc/etc.cobalt/ttys    |  4 ++--
 etc/etc.dreamcast/ttys |  4 ++--
 etc/etc.evbarm/ttys    |  4 ++--
 etc/etc.evbmips/ttys   |  4 ++--
 etc/etc.evbppc/ttys    |  4 ++--
 etc/etc.evbsh3/ttys    |  4 ++--
 etc/etc.evbsh5/ttys    |  4 ++--
 etc/etc.hp300/ttys     |  4 ++--
 etc/etc.hp700/ttys     |  4 ++--
 etc/etc.hpcarm/ttys    |  4 ++--
 etc/etc.hpcmips/ttys   |  4 ++--
 etc/etc.hpcsh/ttys     |  4 ++--
 etc/etc.i386/ttys      |  4 ++--
 etc/etc.luna68k/ttys   |  4 ++--
 etc/etc.mac68k/ttys    |  4 ++--
 etc/etc.macppc/ttys    |  4 ++--
 etc/etc.mipsco/ttys    |  4 ++--
 etc/etc.mmeye/ttys     |  4 ++--
 etc/etc.mvme68k/ttys   |  4 ++--
 etc/etc.mvmeppc/ttys   |  4 ++--
 etc/etc.netwinder/ttys |  4 ++--
 etc/etc.news68k/ttys   |  4 ++--
 etc/etc.newsmips/ttys  |  4 ++--
 etc/etc.next68k/ttys   |  4 ++--
 etc/etc.ofppc/ttys     |  4 ++--
 etc/etc.pc532/ttys     |  4 ++--
 etc/etc.pmax/ttys      |  4 ++--
 etc/etc.pmppc/ttys     |  4 ++--
 etc/etc.prep/ttys      |  4 ++--
 etc/etc.sandpoint/ttys |  4 ++--
 etc/etc.sbmips/ttys    |  4 ++--
 etc/etc.sgimips/ttys   |  4 ++--
 etc/etc.shark/ttys     |  4 ++--
 etc/etc.sparc/ttys     |  4 ++--
 etc/etc.sparc64/ttys   |  4 ++--
 etc/etc.sun2/ttys      |  4 ++--
 etc/etc.sun3/ttys      |  4 ++--
 etc/etc.vax/ttys       |  4 ++--
 etc/etc.x68k/ttys      |  4 ++--
 49 files changed, 98 insertions(+), 98 deletions(-)

diffs (truncated from 829 to 300 lines):

diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.acorn32/ttys
--- a/etc/etc.acorn32/ttys      Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.acorn32/ttys      Fri Oct 03 14:54:20 2003 +0000
@@ -1,10 +1,10 @@
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
-#      $NetBSD: ttys,v 1.3 2002/02/13 09:46:01 martti Exp $
+#      $NetBSD: ttys,v 1.4 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty Pc"         vt100   off secure
+constty        "/usr/libexec/getty Pc"         vt100   off secure
 ttyv0  "/usr/libexec/getty Pc"         vt220   on secure       # non wscons
 ttyE0  "/usr/libexec/getty Pc"         vt220   on secure
 ttyE1  "/usr/libexec/getty Pc"         vt220   on secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.algor/ttys
--- a/etc/etc.algor/ttys        Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.algor/ttys        Fri Oct 03 14:54:20 2003 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: ttys,v 1.1 2002/04/01 23:32:18 thorpej Exp $
+#      $NetBSD: ttys,v 1.2 2003/10/03 14:54:20 dsl Exp $
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty default"    vt100   on secure
+constty        "/usr/libexec/getty default"    vt100   on secure
 #
 # 16550-compatible serial ports
 #
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.alpha/ttys
--- a/etc/etc.alpha/ttys        Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.alpha/ttys        Fri Oct 03 14:54:20 2003 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: ttys,v 1.7 2002/02/13 09:46:02 martti Exp $
+#      $NetBSD: ttys,v 1.8 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 
@@ -7,7 +7,7 @@
 # enabled for the correct 'real' device (e.g. one of the serial ports).
 
 # console pseudo-device
-console        "/usr/libexec/getty std.9600"   vt100 on secure
+constty        "/usr/libexec/getty std.9600"   vt100 on secure
 
 # Workstation console (framebuffer) ttys
 ttyE0  "/usr/libexec/getty std.9600"   vt100 off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.amd64/ttys
--- a/etc/etc.amd64/ttys        Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.amd64/ttys        Fri Oct 03 14:54:20 2003 +0000
@@ -1,10 +1,10 @@
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
-#      $NetBSD: ttys,v 1.1 2003/04/26 19:08:18 fvdl Exp $
+#      $NetBSD: ttys,v 1.2 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty Pc"         vt100   on secure
+constty        "/usr/libexec/getty Pc"         vt100   on secure
 ttyE0  "/usr/libexec/getty Pc"         vt220   off secure
 ttyE1  "/usr/libexec/getty Pc"         vt220   off secure
 ttyE2  "/usr/libexec/getty Pc"         vt220   off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.amiga/ttys
--- a/etc/etc.amiga/ttys        Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.amiga/ttys        Fri Oct 03 14:54:20 2003 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: ttys,v 1.19 2002/03/13 19:38:05 jandberg Exp $
+#      $NetBSD: ttys,v 1.20 2003/10/03 14:54:20 dsl Exp $
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
 #
@@ -7,7 +7,7 @@
 #
 # If the console is marked insecure, single-user requires
 # the root password.
-console        "/usr/libexec/getty Pc"         vt220   on secure 
+constty        "/usr/libexec/getty Pc"         vt220   on secure 
 ttye0  "/usr/libexec/getty Pc"         vt220   off secure      # custom chips
 ttye1  "/usr/libexec/getty Pc"         vt220   off secure      # retina
 ttye2  "/usr/libexec/getty Pc"         vt220   off secure      # retina
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.arc/ttys
--- a/etc/etc.arc/ttys  Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.arc/ttys  Fri Oct 03 14:54:20 2003 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: ttys,v 1.3 2002/02/13 09:46:03 martti Exp $
+#      $NetBSD: ttys,v 1.4 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 
@@ -7,7 +7,7 @@
 # enabled for the correct 'real' device (e.g. one of the serial ports).
 
 # console pseudo-device
-console        "/usr/libexec/getty std.9600"   vt220 on secure
+constty        "/usr/libexec/getty std.9600"   vt220 on secure
 
 # Workstation console
 ttyE0  "/usr/libexec/getty std.9600"   vt220 off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.atari/ttys
--- a/etc/etc.atari/ttys        Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.atari/ttys        Fri Oct 03 14:54:20 2003 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: ttys,v 1.5 2002/06/12 19:36:31 leo Exp $
+#      $NetBSD: ttys,v 1.6 2003/10/03 14:54:20 dsl Exp $
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
 #
@@ -7,7 +7,7 @@
 #
 # If the console is marked insecure, single-user requires
 # the root password.
-console        "/usr/libexec/getty Pc"         vt220   off secure 
+constty        "/usr/libexec/getty Pc"         vt220   off secure 
 ttye0  "/usr/libexec/getty Pc"         vt220   on secure       # ite0 console
 ttye1  "/usr/libexec/getty Pc"         vt220   on secure       # ite1
 ttyE0  "/usr/libexec/getty Pc"         vt220   on secure       # wscons
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.bebox/ttys
--- a/etc/etc.bebox/ttys        Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.bebox/ttys        Fri Oct 03 14:54:20 2003 +0000
@@ -1,10 +1,10 @@
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
-#      $NetBSD: ttys,v 1.3 2002/02/13 09:46:04 martti Exp $
+#      $NetBSD: ttys,v 1.4 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty Pc"         pc3     off secure
+constty        "/usr/libexec/getty Pc"         pc3     off secure
 ttyE0  "/usr/libexec/getty Pc"         pc3     on secure
 tty00  "/usr/libexec/getty std.9600"   unknown off secure
 tty01  "/usr/libexec/getty std.9600"   unknown off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.cats/ttys
--- a/etc/etc.cats/ttys Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.cats/ttys Fri Oct 03 14:54:20 2003 +0000
@@ -1,10 +1,10 @@
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
-#      $NetBSD: ttys,v 1.2 2002/02/13 09:46:05 martti Exp $
+#      $NetBSD: ttys,v 1.3 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty Pc"         vt100   off secure
+constty        "/usr/libexec/getty Pc"         vt100   off secure
 ttyE0  "/usr/libexec/getty Pc"         vt220   on secure
 ttyE1  "/usr/libexec/getty Pc"         vt220   on secure
 ttyE2  "/usr/libexec/getty Pc"         vt220   on secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.cesfic/ttys
--- a/etc/etc.cesfic/ttys       Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.cesfic/ttys       Fri Oct 03 14:54:20 2003 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: ttys,v 1.1 2002/06/17 10:50:01 drochner Exp $
-console "/usr/libexec/getty std.9600"   unknown on secure
+# $NetBSD: ttys,v 1.2 2003/10/03 14:54:20 dsl Exp $
+constty "/usr/libexec/getty std.9600"   unknown on secure
 ttyp0   none                            network
 ttyp1   none                            network
 ttyp2   none                            network
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.cobalt/ttys
--- a/etc/etc.cobalt/ttys       Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.cobalt/ttys       Fri Oct 03 14:54:20 2003 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: ttys,v 1.4 2002/02/13 09:46:05 martti Exp $
+#      $NetBSD: ttys,v 1.5 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 
@@ -8,7 +8,7 @@
 # If the console is marked insecure, single-user requires the root password.
 
 # Console pseudo-device
-console        "/usr/libexec/getty std.115200" vt100   off secure
+constty        "/usr/libexec/getty std.115200" vt100   off secure
 
 # Serial console port
 tty00  "/usr/libexec/getty std.115200" vt100   on secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.dreamcast/ttys
--- a/etc/etc.dreamcast/ttys    Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.dreamcast/ttys    Fri Oct 03 14:54:20 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ttys,v 1.2 2002/02/13 09:46:06 martti Exp $
+#      $NetBSD: ttys,v 1.3 2003/10/03 14:54:20 dsl Exp $
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
 #
 # name getty                           type    status          comments
@@ -8,7 +8,7 @@
 #
 # /dev/console is always valid, regardless of the board type.
 #
-console "/usr/libexec/getty std.115200"        unknown on secure
+constty "/usr/libexec/getty std.115200"        unknown on secure
 
 #tty00 "/usr/libexec/getty std.9600"   unknown off secure
 #tty01 "/usr/libexec/getty std.9600"   unknown off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.evbarm/ttys
--- a/etc/etc.evbarm/ttys       Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.evbarm/ttys       Fri Oct 03 14:54:20 2003 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: ttys,v 1.2 2002/02/13 09:46:06 martti Exp $
+#      $NetBSD: ttys,v 1.3 2003/10/03 14:54:20 dsl Exp $
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty default"    vt100   on secure
+constty        "/usr/libexec/getty default"    vt100   on secure
 ttyE0  "/usr/libexec/getty Pc"         vt220   off secure
 ttyE1  "/usr/libexec/getty Pc"         vt220   off secure
 ttyE2  "/usr/libexec/getty Pc"         vt220   off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.evbmips/ttys
--- a/etc/etc.evbmips/ttys      Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.evbmips/ttys      Fri Oct 03 14:54:20 2003 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: ttys,v 1.1 2002/04/10 14:21:01 simonb Exp $
+#      $NetBSD: ttys,v 1.2 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 
@@ -8,7 +8,7 @@
 # If the console is marked insecure, single-user requires the root password.
 
 # Console pseudo-device
-console        "/usr/libexec/getty std.38400"  vt100   on secure
+constty        "/usr/libexec/getty std.38400"  vt100   on secure
 
 # NS16550 ("com") serial ports
 tty00  "/usr/libexec/getty std.38400"  unknown off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.evbppc/ttys
--- a/etc/etc.evbppc/ttys       Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.evbppc/ttys       Fri Oct 03 14:54:20 2003 +0000
@@ -1,10 +1,10 @@
 #
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
-#      $NetBSD: ttys,v 1.1 2002/12/09 12:37:11 scw Exp $
+#      $NetBSD: ttys,v 1.2 2003/10/03 14:54:20 dsl Exp $
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty Pc"         vt100   on secure
+constty        "/usr/libexec/getty Pc"         vt100   on secure
 #ttyE0 "/usr/libexec/getty Pc"         pc3     off secure
 tty00  "/usr/libexec/getty std.9600"   unknown off secure
 tty01  "/usr/libexec/getty std.9600"   unknown off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.evbsh3/ttys
--- a/etc/etc.evbsh3/ttys       Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.evbsh3/ttys       Fri Oct 03 14:54:20 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ttys,v 1.2 2002/02/13 09:46:06 martti Exp $
+#      $NetBSD: ttys,v 1.3 2003/10/03 14:54:21 dsl Exp $
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
 #
 # name getty                           type    status          comments
@@ -8,7 +8,7 @@
 #
 # /dev/console is always valid, regardless of the board type.
 #
-console "/usr/libexec/getty std.115200"        unknown on secure
+constty "/usr/libexec/getty std.115200"        unknown on secure
 
 #tty00 "/usr/libexec/getty std.9600"   unknown off secure
 #tty01 "/usr/libexec/getty std.9600"   unknown off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.evbsh5/ttys
--- a/etc/etc.evbsh5/ttys       Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.evbsh5/ttys       Fri Oct 03 14:54:20 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ttys,v 1.1 2002/07/11 15:45:11 scw Exp $
+#      $NetBSD: ttys,v 1.2 2003/10/03 14:54:21 dsl Exp $
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
 #
 # name getty                           type    status          comments
@@ -8,7 +8,7 @@
 #
 # /dev/console is always valid, regardless of the board type.
 #
-console "/usr/libexec/getty std.115200"        unknown on secure
+constty "/usr/libexec/getty std.115200"        unknown on secure
 
 #tty00 "/usr/libexec/getty std.9600"   unknown off secure
 #tty01 "/usr/libexec/getty std.9600"   unknown off secure
diff -r 3232b0fcac5d -r 5ccf63e10fbb etc/etc.hp300/ttys
--- a/etc/etc.hp300/ttys        Fri Oct 03 14:35:36 2003 +0000
+++ b/etc/etc.hp300/ttys        Fri Oct 03 14:54:20 2003 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: ttys,v 1.9 2002/02/13 09:46:07 martti Exp $
+#      $NetBSD: ttys,v 1.10 2003/10/03 14:54:21 dsl Exp $
 #      from: @(#)ttys  5.1 (Berkeley) 4/17/89
 #
 # name getty                           type    status          comments



Home | Main Index | Thread Index | Old Index