Author: gjb
Date: Wed Oct 28 13:30:14 2015
New Revision: 290107
URL: https://svnweb.freebsd.org/changeset/base/290107
Log:
  MFC r262957, r267591, r289634:
  
   r262957 (marcel):
    Change the terminal type/class for enabled serial lines to 3wire. This
    allows us to change the uart(4) driver to not hardcode specific line
    settings for the serial console.
  
    A terminal type of 3wire makes sure the console still works when no DCD
    signal is present, which preserves behviour. When it is known that the
    terminal server (or DCE in general) provides DCD, a terminal type/class
    of std can be used. This has the effect of being logged out when one
    disconnects from the console -- improving security overall.
  
   r267591 (grehan):
    Convert the potential console port over to using 3wire, for i386/amd64.
  
   r289634:
    Enable all callin ttys if the tty is an available console.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/etc/etc.amd64/ttys
  stable/10/etc/etc.i386/ttys
  stable/10/etc/etc.ia64/ttys
  stable/10/etc/etc.mips/ttys
  stable/10/etc/etc.pc98/ttys
  stable/10/etc/etc.powerpc/ttys
  stable/10/etc/etc.sparc64/ttys
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/etc.amd64/ttys
==============================================================================
--- stable/10/etc/etc.amd64/ttys        Wed Oct 28 13:14:16 2015        
(r290106)
+++ stable/10/etc/etc.amd64/ttys        Wed Oct 28 13:30:14 2015        
(r290107)
@@ -41,9 +41,9 @@ ttyv7 "/usr/libexec/getty Pc"         xterm   on 
 ttyv8  "/usr/local/bin/xdm -nodaemon"  xterm   off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
-ttyu0  "/usr/libexec/getty std.9600"   vt100   onifconsole secure
-ttyu1  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu2  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu3  "/usr/libexec/getty std.9600"   dialup  off secure
+ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
 # Dumb console
 dcons  "/usr/libexec/getty std.9600"   vt100   off secure

Modified: stable/10/etc/etc.i386/ttys
==============================================================================
--- stable/10/etc/etc.i386/ttys Wed Oct 28 13:14:16 2015        (r290106)
+++ stable/10/etc/etc.i386/ttys Wed Oct 28 13:30:14 2015        (r290107)
@@ -41,9 +41,9 @@ ttyv7 "/usr/libexec/getty Pc"         xterm   on 
 ttyv8  "/usr/local/bin/xdm -nodaemon"  xterm   off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
-ttyu0  "/usr/libexec/getty std.9600"   vt100   onifconsole secure
-ttyu1  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu2  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu3  "/usr/libexec/getty std.9600"   dialup  off secure
+ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
 # Dumb console
 dcons  "/usr/libexec/getty std.9600"   vt100   off secure

Modified: stable/10/etc/etc.ia64/ttys
==============================================================================
--- stable/10/etc/etc.ia64/ttys Wed Oct 28 13:14:16 2015        (r290106)
+++ stable/10/etc/etc.ia64/ttys Wed Oct 28 13:30:14 2015        (r290107)
@@ -41,9 +41,9 @@ ttyv7 "/usr/libexec/getty Pc"         xterm   off
 ttyv8  "/usr/local/bin/xdm -nodaemon"  xterm   off secure
 # Serial terminals. The 'dialup' keyword identifies dialin lines to login,
 # fingerd etc.
-ttyu0  "/usr/libexec/getty std.9600"   vt100   onifconsole secure
-ttyu1  "/usr/libexec/getty std.9600"   vt100   onifconsole secure
-ttyu2  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu3  "/usr/libexec/getty std.9600"   dialup  off secure
+ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
 # Dumb console
 dcons  "/usr/libexec/getty std.9600"   vt100   off secure

Modified: stable/10/etc/etc.mips/ttys
==============================================================================
--- stable/10/etc/etc.mips/ttys Wed Oct 28 13:14:16 2015        (r290106)
+++ stable/10/etc/etc.mips/ttys Wed Oct 28 13:30:14 2015        (r290107)
@@ -30,7 +30,7 @@
 console        none                            unknown off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
-ttyu0  "/usr/libexec/getty std.115200" dialup  on  secure
-ttyu1  "/usr/libexec/getty std.115200" dialup  off secure
-ttyu2  "/usr/libexec/getty std.115200" dialup  off secure
-ttyu3  "/usr/libexec/getty std.115200" dialup  off secure
+ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole secure

Modified: stable/10/etc/etc.pc98/ttys
==============================================================================
--- stable/10/etc/etc.pc98/ttys Wed Oct 28 13:14:16 2015        (r290106)
+++ stable/10/etc/etc.pc98/ttys Wed Oct 28 13:30:14 2015        (r290107)
@@ -41,9 +41,9 @@ ttyv7 "/usr/libexec/getty Pc"         cons25w o
 ttyv8  "/usr/local/bin/xdm -nodaemon"  xterm   off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
-ttyu0  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu1  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu2  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu3  "/usr/libexec/getty std.9600"   dialup  off secure
+ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
 # Dumb console
 dcons  "/usr/libexec/getty std.9600"   vt100   off secure

Modified: stable/10/etc/etc.powerpc/ttys
==============================================================================
--- stable/10/etc/etc.powerpc/ttys      Wed Oct 28 13:14:16 2015        
(r290106)
+++ stable/10/etc/etc.powerpc/ttys      Wed Oct 28 13:30:14 2015        
(r290107)
@@ -41,9 +41,9 @@ ttyv7 "/usr/libexec/getty Pc"         xterm   on 
 #ttyv8 "/usr/local/bin/xdm -nodaemon"  xterm   off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
-ttyu0  "/usr/libexec/getty std.9600"   vt100   on  secure
-ttyu1  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu2  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu3  "/usr/libexec/getty std.9600"   dialup  off secure
+ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
 # Dumb console
 dcons  "/usr/libexec/getty std.9600"   vt100   off secure

Modified: stable/10/etc/etc.sparc64/ttys
==============================================================================
--- stable/10/etc/etc.sparc64/ttys      Wed Oct 28 13:14:16 2015        
(r290106)
+++ stable/10/etc/etc.sparc64/ttys      Wed Oct 28 13:30:14 2015        
(r290107)
@@ -46,9 +46,9 @@ ttyv8 "/usr/local/bin/xdm -nodaemon"  xte
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
 # uart(4)
-ttyu0  "/usr/libexec/getty std.9600"   vt100   on  secure
-ttyu1  "/usr/libexec/getty std.9600"   vt100   on  secure
-ttyu2  "/usr/libexec/getty std.9600"   vt100   on  secure
-ttyu3  "/usr/libexec/getty std.9600"   vt100   off secure
+ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
+ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
 # Dumb console
 dcons  "/usr/libexec/getty std.9600"   vt100   off secure
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to