summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/etc.amd64/ttys257
-rw-r--r--etc/etc.arm/ttys257
-rw-r--r--etc/etc.i386/ttys257
-rw-r--r--etc/etc.ia64/ttys257
-rw-r--r--etc/etc.mips/ttys257
-rw-r--r--etc/etc.pc98/ttys257
-rw-r--r--etc/etc.powerpc/ttys257
-rw-r--r--etc/etc.sparc64/ttys257
-rw-r--r--lib/libc/gen/getttyent.c37
9 files changed, 1 insertions, 2092 deletions
diff --git a/etc/etc.amd64/ttys b/etc/etc.amd64/ttys
index b76d6cb..3920547 100644
--- a/etc/etc.amd64/ttys
+++ b/etc/etc.amd64/ttys
@@ -48,260 +48,3 @@ ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
-# Pseudo terminals
-ttyp0 none network
-ttyp1 none network
-ttyp2 none network
-ttyp3 none network
-ttyp4 none network
-ttyp5 none network
-ttyp6 none network
-ttyp7 none network
-ttyp8 none network
-ttyp9 none network
-ttypa none network
-ttypb none network
-ttypc none network
-ttypd none network
-ttype none network
-ttypf none network
-ttypg none network
-ttyph none network
-ttypi none network
-ttypj none network
-ttypk none network
-ttypl none network
-ttypm none network
-ttypn none network
-ttypo none network
-ttypp none network
-ttypq none network
-ttypr none network
-ttyps none network
-ttypt none network
-ttypu none network
-ttypv none network
-ttyq0 none network
-ttyq1 none network
-ttyq2 none network
-ttyq3 none network
-ttyq4 none network
-ttyq5 none network
-ttyq6 none network
-ttyq7 none network
-ttyq8 none network
-ttyq9 none network
-ttyqa none network
-ttyqb none network
-ttyqc none network
-ttyqd none network
-ttyqe none network
-ttyqf none network
-ttyqg none network
-ttyqh none network
-ttyqi none network
-ttyqj none network
-ttyqk none network
-ttyql none network
-ttyqm none network
-ttyqn none network
-ttyqo none network
-ttyqp none network
-ttyqq none network
-ttyqr none network
-ttyqs none network
-ttyqt none network
-ttyqu none network
-ttyqv none network
-ttyr0 none network
-ttyr1 none network
-ttyr2 none network
-ttyr3 none network
-ttyr4 none network
-ttyr5 none network
-ttyr6 none network
-ttyr7 none network
-ttyr8 none network
-ttyr9 none network
-ttyra none network
-ttyrb none network
-ttyrc none network
-ttyrd none network
-ttyre none network
-ttyrf none network
-ttyrg none network
-ttyrh none network
-ttyri none network
-ttyrj none network
-ttyrk none network
-ttyrl none network
-ttyrm none network
-ttyrn none network
-ttyro none network
-ttyrp none network
-ttyrq none network
-ttyrr none network
-ttyrs none network
-ttyrt none network
-ttyru none network
-ttyrv none network
-ttys0 none network
-ttys1 none network
-ttys2 none network
-ttys3 none network
-ttys4 none network
-ttys5 none network
-ttys6 none network
-ttys7 none network
-ttys8 none network
-ttys9 none network
-ttysa none network
-ttysb none network
-ttysc none network
-ttysd none network
-ttyse none network
-ttysf none network
-ttysg none network
-ttysh none network
-ttysi none network
-ttysj none network
-ttysk none network
-ttysl none network
-ttysm none network
-ttysn none network
-ttyso none network
-ttysp none network
-ttysq none network
-ttysr none network
-ttyss none network
-ttyst none network
-ttysu none network
-ttysv none network
-ttyP0 none network
-ttyP1 none network
-ttyP2 none network
-ttyP3 none network
-ttyP4 none network
-ttyP5 none network
-ttyP6 none network
-ttyP7 none network
-ttyP8 none network
-ttyP9 none network
-ttyPa none network
-ttyPb none network
-ttyPc none network
-ttyPd none network
-ttyPe none network
-ttyPf none network
-ttyPg none network
-ttyPh none network
-ttyPi none network
-ttyPj none network
-ttyPk none network
-ttyPl none network
-ttyPm none network
-ttyPn none network
-ttyPo none network
-ttyPp none network
-ttyPq none network
-ttyPr none network
-ttyPs none network
-ttyPt none network
-ttyPu none network
-ttyPv none network
-ttyQ0 none network
-ttyQ1 none network
-ttyQ2 none network
-ttyQ3 none network
-ttyQ4 none network
-ttyQ5 none network
-ttyQ6 none network
-ttyQ7 none network
-ttyQ8 none network
-ttyQ9 none network
-ttyQa none network
-ttyQb none network
-ttyQc none network
-ttyQd none network
-ttyQe none network
-ttyQf none network
-ttyQg none network
-ttyQh none network
-ttyQi none network
-ttyQj none network
-ttyQk none network
-ttyQl none network
-ttyQm none network
-ttyQn none network
-ttyQo none network
-ttyQp none network
-ttyQq none network
-ttyQr none network
-ttyQs none network
-ttyQt none network
-ttyQu none network
-ttyQv none network
-ttyR0 none network
-ttyR1 none network
-ttyR2 none network
-ttyR3 none network
-ttyR4 none network
-ttyR5 none network
-ttyR6 none network
-ttyR7 none network
-ttyR8 none network
-ttyR9 none network
-ttyRa none network
-ttyRb none network
-ttyRc none network
-ttyRd none network
-ttyRe none network
-ttyRf none network
-ttyRg none network
-ttyRh none network
-ttyRi none network
-ttyRj none network
-ttyRk none network
-ttyRl none network
-ttyRm none network
-ttyRn none network
-ttyRo none network
-ttyRp none network
-ttyRq none network
-ttyRr none network
-ttyRs none network
-ttyRt none network
-ttyRu none network
-ttyRv none network
-ttyS0 none network
-ttyS1 none network
-ttyS2 none network
-ttyS3 none network
-ttyS4 none network
-ttyS5 none network
-ttyS6 none network
-ttyS7 none network
-ttyS8 none network
-ttyS9 none network
-ttySa none network
-ttySb none network
-ttySc none network
-ttySd none network
-ttySe none network
-ttySf none network
-ttySg none network
-ttySh none network
-ttySi none network
-ttySj none network
-ttySk none network
-ttySl none network
-ttySm none network
-ttySn none network
-ttySo none network
-ttySp none network
-ttySq none network
-ttySr none network
-ttySs none network
-ttySt none network
-ttySu none network
-ttySv none network
diff --git a/etc/etc.arm/ttys b/etc/etc.arm/ttys
index 9c9cb95..2c8e9ef 100644
--- a/etc/etc.arm/ttys
+++ b/etc/etc.arm/ttys
@@ -48,260 +48,3 @@ ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
-# Pseudo terminals
-ttyp0 none network
-ttyp1 none network
-ttyp2 none network
-ttyp3 none network
-ttyp4 none network
-ttyp5 none network
-ttyp6 none network
-ttyp7 none network
-ttyp8 none network
-ttyp9 none network
-ttypa none network
-ttypb none network
-ttypc none network
-ttypd none network
-ttype none network
-ttypf none network
-ttypg none network
-ttyph none network
-ttypi none network
-ttypj none network
-ttypk none network
-ttypl none network
-ttypm none network
-ttypn none network
-ttypo none network
-ttypp none network
-ttypq none network
-ttypr none network
-ttyps none network
-ttypt none network
-ttypu none network
-ttypv none network
-ttyq0 none network
-ttyq1 none network
-ttyq2 none network
-ttyq3 none network
-ttyq4 none network
-ttyq5 none network
-ttyq6 none network
-ttyq7 none network
-ttyq8 none network
-ttyq9 none network
-ttyqa none network
-ttyqb none network
-ttyqc none network
-ttyqd none network
-ttyqe none network
-ttyqf none network
-ttyqg none network
-ttyqh none network
-ttyqi none network
-ttyqj none network
-ttyqk none network
-ttyql none network
-ttyqm none network
-ttyqn none network
-ttyqo none network
-ttyqp none network
-ttyqq none network
-ttyqr none network
-ttyqs none network
-ttyqt none network
-ttyqu none network
-ttyqv none network
-ttyr0 none network
-ttyr1 none network
-ttyr2 none network
-ttyr3 none network
-ttyr4 none network
-ttyr5 none network
-ttyr6 none network
-ttyr7 none network
-ttyr8 none network
-ttyr9 none network
-ttyra none network
-ttyrb none network
-ttyrc none network
-ttyrd none network
-ttyre none network
-ttyrf none network
-ttyrg none network
-ttyrh none network
-ttyri none network
-ttyrj none network
-ttyrk none network
-ttyrl none network
-ttyrm none network
-ttyrn none network
-ttyro none network
-ttyrp none network
-ttyrq none network
-ttyrr none network
-ttyrs none network
-ttyrt none network
-ttyru none network
-ttyrv none network
-ttys0 none network
-ttys1 none network
-ttys2 none network
-ttys3 none network
-ttys4 none network
-ttys5 none network
-ttys6 none network
-ttys7 none network
-ttys8 none network
-ttys9 none network
-ttysa none network
-ttysb none network
-ttysc none network
-ttysd none network
-ttyse none network
-ttysf none network
-ttysg none network
-ttysh none network
-ttysi none network
-ttysj none network
-ttysk none network
-ttysl none network
-ttysm none network
-ttysn none network
-ttyso none network
-ttysp none network
-ttysq none network
-ttysr none network
-ttyss none network
-ttyst none network
-ttysu none network
-ttysv none network
-ttyP0 none network
-ttyP1 none network
-ttyP2 none network
-ttyP3 none network
-ttyP4 none network
-ttyP5 none network
-ttyP6 none network
-ttyP7 none network
-ttyP8 none network
-ttyP9 none network
-ttyPa none network
-ttyPb none network
-ttyPc none network
-ttyPd none network
-ttyPe none network
-ttyPf none network
-ttyPg none network
-ttyPh none network
-ttyPi none network
-ttyPj none network
-ttyPk none network
-ttyPl none network
-ttyPm none network
-ttyPn none network
-ttyPo none network
-ttyPp none network
-ttyPq none network
-ttyPr none network
-ttyPs none network
-ttyPt none network
-ttyPu none network
-ttyPv none network
-ttyQ0 none network
-ttyQ1 none network
-ttyQ2 none network
-ttyQ3 none network
-ttyQ4 none network
-ttyQ5 none network
-ttyQ6 none network
-ttyQ7 none network
-ttyQ8 none network
-ttyQ9 none network
-ttyQa none network
-ttyQb none network
-ttyQc none network
-ttyQd none network
-ttyQe none network
-ttyQf none network
-ttyQg none network
-ttyQh none network
-ttyQi none network
-ttyQj none network
-ttyQk none network
-ttyQl none network
-ttyQm none network
-ttyQn none network
-ttyQo none network
-ttyQp none network
-ttyQq none network
-ttyQr none network
-ttyQs none network
-ttyQt none network
-ttyQu none network
-ttyQv none network
-ttyR0 none network
-ttyR1 none network
-ttyR2 none network
-ttyR3 none network
-ttyR4 none network
-ttyR5 none network
-ttyR6 none network
-ttyR7 none network
-ttyR8 none network
-ttyR9 none network
-ttyRa none network
-ttyRb none network
-ttyRc none network
-ttyRd none network
-ttyRe none network
-ttyRf none network
-ttyRg none network
-ttyRh none network
-ttyRi none network
-ttyRj none network
-ttyRk none network
-ttyRl none network
-ttyRm none network
-ttyRn none network
-ttyRo none network
-ttyRp none network
-ttyRq none network
-ttyRr none network
-ttyRs none network
-ttyRt none network
-ttyRu none network
-ttyRv none network
-ttyS0 none network
-ttyS1 none network
-ttyS2 none network
-ttyS3 none network
-ttyS4 none network
-ttyS5 none network
-ttyS6 none network
-ttyS7 none network
-ttyS8 none network
-ttyS9 none network
-ttySa none network
-ttySb none network
-ttySc none network
-ttySd none network
-ttySe none network
-ttySf none network
-ttySg none network
-ttySh none network
-ttySi none network
-ttySj none network
-ttySk none network
-ttySl none network
-ttySm none network
-ttySn none network
-ttySo none network
-ttySp none network
-ttySq none network
-ttySr none network
-ttySs none network
-ttySt none network
-ttySu none network
-ttySv none network
diff --git a/etc/etc.i386/ttys b/etc/etc.i386/ttys
index b76d6cb..3920547 100644
--- a/etc/etc.i386/ttys
+++ b/etc/etc.i386/ttys
@@ -48,260 +48,3 @@ ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
-# Pseudo terminals
-ttyp0 none network
-ttyp1 none network
-ttyp2 none network
-ttyp3 none network
-ttyp4 none network
-ttyp5 none network
-ttyp6 none network
-ttyp7 none network
-ttyp8 none network
-ttyp9 none network
-ttypa none network
-ttypb none network
-ttypc none network
-ttypd none network
-ttype none network
-ttypf none network
-ttypg none network
-ttyph none network
-ttypi none network
-ttypj none network
-ttypk none network
-ttypl none network
-ttypm none network
-ttypn none network
-ttypo none network
-ttypp none network
-ttypq none network
-ttypr none network
-ttyps none network
-ttypt none network
-ttypu none network
-ttypv none network
-ttyq0 none network
-ttyq1 none network
-ttyq2 none network
-ttyq3 none network
-ttyq4 none network
-ttyq5 none network
-ttyq6 none network
-ttyq7 none network
-ttyq8 none network
-ttyq9 none network
-ttyqa none network
-ttyqb none network
-ttyqc none network
-ttyqd none network
-ttyqe none network
-ttyqf none network
-ttyqg none network
-ttyqh none network
-ttyqi none network
-ttyqj none network
-ttyqk none network
-ttyql none network
-ttyqm none network
-ttyqn none network
-ttyqo none network
-ttyqp none network
-ttyqq none network
-ttyqr none network
-ttyqs none network
-ttyqt none network
-ttyqu none network
-ttyqv none network
-ttyr0 none network
-ttyr1 none network
-ttyr2 none network
-ttyr3 none network
-ttyr4 none network
-ttyr5 none network
-ttyr6 none network
-ttyr7 none network
-ttyr8 none network
-ttyr9 none network
-ttyra none network
-ttyrb none network
-ttyrc none network
-ttyrd none network
-ttyre none network
-ttyrf none network
-ttyrg none network
-ttyrh none network
-ttyri none network
-ttyrj none network
-ttyrk none network
-ttyrl none network
-ttyrm none network
-ttyrn none network
-ttyro none network
-ttyrp none network
-ttyrq none network
-ttyrr none network
-ttyrs none network
-ttyrt none network
-ttyru none network
-ttyrv none network
-ttys0 none network
-ttys1 none network
-ttys2 none network
-ttys3 none network
-ttys4 none network
-ttys5 none network
-ttys6 none network
-ttys7 none network
-ttys8 none network
-ttys9 none network
-ttysa none network
-ttysb none network
-ttysc none network
-ttysd none network
-ttyse none network
-ttysf none network
-ttysg none network
-ttysh none network
-ttysi none network
-ttysj none network
-ttysk none network
-ttysl none network
-ttysm none network
-ttysn none network
-ttyso none network
-ttysp none network
-ttysq none network
-ttysr none network
-ttyss none network
-ttyst none network
-ttysu none network
-ttysv none network
-ttyP0 none network
-ttyP1 none network
-ttyP2 none network
-ttyP3 none network
-ttyP4 none network
-ttyP5 none network
-ttyP6 none network
-ttyP7 none network
-ttyP8 none network
-ttyP9 none network
-ttyPa none network
-ttyPb none network
-ttyPc none network
-ttyPd none network
-ttyPe none network
-ttyPf none network
-ttyPg none network
-ttyPh none network
-ttyPi none network
-ttyPj none network
-ttyPk none network
-ttyPl none network
-ttyPm none network
-ttyPn none network
-ttyPo none network
-ttyPp none network
-ttyPq none network
-ttyPr none network
-ttyPs none network
-ttyPt none network
-ttyPu none network
-ttyPv none network
-ttyQ0 none network
-ttyQ1 none network
-ttyQ2 none network
-ttyQ3 none network
-ttyQ4 none network
-ttyQ5 none network
-ttyQ6 none network
-ttyQ7 none network
-ttyQ8 none network
-ttyQ9 none network
-ttyQa none network
-ttyQb none network
-ttyQc none network
-ttyQd none network
-ttyQe none network
-ttyQf none network
-ttyQg none network
-ttyQh none network
-ttyQi none network
-ttyQj none network
-ttyQk none network
-ttyQl none network
-ttyQm none network
-ttyQn none network
-ttyQo none network
-ttyQp none network
-ttyQq none network
-ttyQr none network
-ttyQs none network
-ttyQt none network
-ttyQu none network
-ttyQv none network
-ttyR0 none network
-ttyR1 none network
-ttyR2 none network
-ttyR3 none network
-ttyR4 none network
-ttyR5 none network
-ttyR6 none network
-ttyR7 none network
-ttyR8 none network
-ttyR9 none network
-ttyRa none network
-ttyRb none network
-ttyRc none network
-ttyRd none network
-ttyRe none network
-ttyRf none network
-ttyRg none network
-ttyRh none network
-ttyRi none network
-ttyRj none network
-ttyRk none network
-ttyRl none network
-ttyRm none network
-ttyRn none network
-ttyRo none network
-ttyRp none network
-ttyRq none network
-ttyRr none network
-ttyRs none network
-ttyRt none network
-ttyRu none network
-ttyRv none network
-ttyS0 none network
-ttyS1 none network
-ttyS2 none network
-ttyS3 none network
-ttyS4 none network
-ttyS5 none network
-ttyS6 none network
-ttyS7 none network
-ttyS8 none network
-ttyS9 none network
-ttySa none network
-ttySb none network
-ttySc none network
-ttySd none network
-ttySe none network
-ttySf none network
-ttySg none network
-ttySh none network
-ttySi none network
-ttySj none network
-ttySk none network
-ttySl none network
-ttySm none network
-ttySn none network
-ttySo none network
-ttySp none network
-ttySq none network
-ttySr none network
-ttySs none network
-ttySt none network
-ttySu none network
-ttySv none network
diff --git a/etc/etc.ia64/ttys b/etc/etc.ia64/ttys
index 6a1b473..4c7bc12 100644
--- a/etc/etc.ia64/ttys
+++ b/etc/etc.ia64/ttys
@@ -48,260 +48,3 @@ ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
-# Pseudo terminals.
-ttyp0 none network
-ttyp1 none network
-ttyp2 none network
-ttyp3 none network
-ttyp4 none network
-ttyp5 none network
-ttyp6 none network
-ttyp7 none network
-ttyp8 none network
-ttyp9 none network
-ttypa none network
-ttypb none network
-ttypc none network
-ttypd none network
-ttype none network
-ttypf none network
-ttypg none network
-ttyph none network
-ttypi none network
-ttypj none network
-ttypk none network
-ttypl none network
-ttypm none network
-ttypn none network
-ttypo none network
-ttypp none network
-ttypq none network
-ttypr none network
-ttyps none network
-ttypt none network
-ttypu none network
-ttypv none network
-ttyq0 none network
-ttyq1 none network
-ttyq2 none network
-ttyq3 none network
-ttyq4 none network
-ttyq5 none network
-ttyq6 none network
-ttyq7 none network
-ttyq8 none network
-ttyq9 none network
-ttyqa none network
-ttyqb none network
-ttyqc none network
-ttyqd none network
-ttyqe none network
-ttyqf none network
-ttyqg none network
-ttyqh none network
-ttyqi none network
-ttyqj none network
-ttyqk none network
-ttyql none network
-ttyqm none network
-ttyqn none network
-ttyqo none network
-ttyqp none network
-ttyqq none network
-ttyqr none network
-ttyqs none network
-ttyqt none network
-ttyqu none network
-ttyqv none network
-ttyr0 none network
-ttyr1 none network
-ttyr2 none network
-ttyr3 none network
-ttyr4 none network
-ttyr5 none network
-ttyr6 none network
-ttyr7 none network
-ttyr8 none network
-ttyr9 none network
-ttyra none network
-ttyrb none network
-ttyrc none network
-ttyrd none network
-ttyre none network
-ttyrf none network
-ttyrg none network
-ttyrh none network
-ttyri none network
-ttyrj none network
-ttyrk none network
-ttyrl none network
-ttyrm none network
-ttyrn none network
-ttyro none network
-ttyrp none network
-ttyrq none network
-ttyrr none network
-ttyrs none network
-ttyrt none network
-ttyru none network
-ttyrv none network
-ttys0 none network
-ttys1 none network
-ttys2 none network
-ttys3 none network
-ttys4 none network
-ttys5 none network
-ttys6 none network
-ttys7 none network
-ttys8 none network
-ttys9 none network
-ttysa none network
-ttysb none network
-ttysc none network
-ttysd none network
-ttyse none network
-ttysf none network
-ttysg none network
-ttysh none network
-ttysi none network
-ttysj none network
-ttysk none network
-ttysl none network
-ttysm none network
-ttysn none network
-ttyso none network
-ttysp none network
-ttysq none network
-ttysr none network
-ttyss none network
-ttyst none network
-ttysu none network
-ttysv none network
-ttyP0 none network
-ttyP1 none network
-ttyP2 none network
-ttyP3 none network
-ttyP4 none network
-ttyP5 none network
-ttyP6 none network
-ttyP7 none network
-ttyP8 none network
-ttyP9 none network
-ttyPa none network
-ttyPb none network
-ttyPc none network
-ttyPd none network
-ttyPe none network
-ttyPf none network
-ttyPg none network
-ttyPh none network
-ttyPi none network
-ttyPj none network
-ttyPk none network
-ttyPl none network
-ttyPm none network
-ttyPn none network
-ttyPo none network
-ttyPp none network
-ttyPq none network
-ttyPr none network
-ttyPs none network
-ttyPt none network
-ttyPu none network
-ttyPv none network
-ttyQ0 none network
-ttyQ1 none network
-ttyQ2 none network
-ttyQ3 none network
-ttyQ4 none network
-ttyQ5 none network
-ttyQ6 none network
-ttyQ7 none network
-ttyQ8 none network
-ttyQ9 none network
-ttyQa none network
-ttyQb none network
-ttyQc none network
-ttyQd none network
-ttyQe none network
-ttyQf none network
-ttyQg none network
-ttyQh none network
-ttyQi none network
-ttyQj none network
-ttyQk none network
-ttyQl none network
-ttyQm none network
-ttyQn none network
-ttyQo none network
-ttyQp none network
-ttyQq none network
-ttyQr none network
-ttyQs none network
-ttyQt none network
-ttyQu none network
-ttyQv none network
-ttyR0 none network
-ttyR1 none network
-ttyR2 none network
-ttyR3 none network
-ttyR4 none network
-ttyR5 none network
-ttyR6 none network
-ttyR7 none network
-ttyR8 none network
-ttyR9 none network
-ttyRa none network
-ttyRb none network
-ttyRc none network
-ttyRd none network
-ttyRe none network
-ttyRf none network
-ttyRg none network
-ttyRh none network
-ttyRi none network
-ttyRj none network
-ttyRk none network
-ttyRl none network
-ttyRm none network
-ttyRn none network
-ttyRo none network
-ttyRp none network
-ttyRq none network
-ttyRr none network
-ttyRs none network
-ttyRt none network
-ttyRu none network
-ttyRv none network
-ttyS0 none network
-ttyS1 none network
-ttyS2 none network
-ttyS3 none network
-ttyS4 none network
-ttyS5 none network
-ttyS6 none network
-ttyS7 none network
-ttyS8 none network
-ttyS9 none network
-ttySa none network
-ttySb none network
-ttySc none network
-ttySd none network
-ttySe none network
-ttySf none network
-ttySg none network
-ttySh none network
-ttySi none network
-ttySj none network
-ttySk none network
-ttySl none network
-ttySm none network
-ttySn none network
-ttySo none network
-ttySp none network
-ttySq none network
-ttySr none network
-ttySs none network
-ttySt none network
-ttySu none network
-ttySv none network
diff --git a/etc/etc.mips/ttys b/etc/etc.mips/ttys
index af67a24..fdbeb72 100644
--- a/etc/etc.mips/ttys
+++ b/etc/etc.mips/ttys
@@ -35,260 +35,3 @@ 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
-# Pseudo terminals
-ttyp0 none network
-ttyp1 none network
-ttyp2 none network
-ttyp3 none network
-ttyp4 none network
-ttyp5 none network
-ttyp6 none network
-ttyp7 none network
-ttyp8 none network
-ttyp9 none network
-ttypa none network
-ttypb none network
-ttypc none network
-ttypd none network
-ttype none network
-ttypf none network
-ttypg none network
-ttyph none network
-ttypi none network
-ttypj none network
-ttypk none network
-ttypl none network
-ttypm none network
-ttypn none network
-ttypo none network
-ttypp none network
-ttypq none network
-ttypr none network
-ttyps none network
-ttypt none network
-ttypu none network
-ttypv none network
-ttyq0 none network
-ttyq1 none network
-ttyq2 none network
-ttyq3 none network
-ttyq4 none network
-ttyq5 none network
-ttyq6 none network
-ttyq7 none network
-ttyq8 none network
-ttyq9 none network
-ttyqa none network
-ttyqb none network
-ttyqc none network
-ttyqd none network
-ttyqe none network
-ttyqf none network
-ttyqg none network
-ttyqh none network
-ttyqi none network
-ttyqj none network
-ttyqk none network
-ttyql none network
-ttyqm none network
-ttyqn none network
-ttyqo none network
-ttyqp none network
-ttyqq none network
-ttyqr none network
-ttyqs none network
-ttyqt none network
-ttyqu none network
-ttyqv none network
-ttyr0 none network
-ttyr1 none network
-ttyr2 none network
-ttyr3 none network
-ttyr4 none network
-ttyr5 none network
-ttyr6 none network
-ttyr7 none network
-ttyr8 none network
-ttyr9 none network
-ttyra none network
-ttyrb none network
-ttyrc none network
-ttyrd none network
-ttyre none network
-ttyrf none network
-ttyrg none network
-ttyrh none network
-ttyri none network
-ttyrj none network
-ttyrk none network
-ttyrl none network
-ttyrm none network
-ttyrn none network
-ttyro none network
-ttyrp none network
-ttyrq none network
-ttyrr none network
-ttyrs none network
-ttyrt none network
-ttyru none network
-ttyrv none network
-ttys0 none network
-ttys1 none network
-ttys2 none network
-ttys3 none network
-ttys4 none network
-ttys5 none network
-ttys6 none network
-ttys7 none network
-ttys8 none network
-ttys9 none network
-ttysa none network
-ttysb none network
-ttysc none network
-ttysd none network
-ttyse none network
-ttysf none network
-ttysg none network
-ttysh none network
-ttysi none network
-ttysj none network
-ttysk none network
-ttysl none network
-ttysm none network
-ttysn none network
-ttyso none network
-ttysp none network
-ttysq none network
-ttysr none network
-ttyss none network
-ttyst none network
-ttysu none network
-ttysv none network
-ttyP0 none network
-ttyP1 none network
-ttyP2 none network
-ttyP3 none network
-ttyP4 none network
-ttyP5 none network
-ttyP6 none network
-ttyP7 none network
-ttyP8 none network
-ttyP9 none network
-ttyPa none network
-ttyPb none network
-ttyPc none network
-ttyPd none network
-ttyPe none network
-ttyPf none network
-ttyPg none network
-ttyPh none network
-ttyPi none network
-ttyPj none network
-ttyPk none network
-ttyPl none network
-ttyPm none network
-ttyPn none network
-ttyPo none network
-ttyPp none network
-ttyPq none network
-ttyPr none network
-ttyPs none network
-ttyPt none network
-ttyPu none network
-ttyPv none network
-ttyQ0 none network
-ttyQ1 none network
-ttyQ2 none network
-ttyQ3 none network
-ttyQ4 none network
-ttyQ5 none network
-ttyQ6 none network
-ttyQ7 none network
-ttyQ8 none network
-ttyQ9 none network
-ttyQa none network
-ttyQb none network
-ttyQc none network
-ttyQd none network
-ttyQe none network
-ttyQf none network
-ttyQg none network
-ttyQh none network
-ttyQi none network
-ttyQj none network
-ttyQk none network
-ttyQl none network
-ttyQm none network
-ttyQn none network
-ttyQo none network
-ttyQp none network
-ttyQq none network
-ttyQr none network
-ttyQs none network
-ttyQt none network
-ttyQu none network
-ttyQv none network
-ttyR0 none network
-ttyR1 none network
-ttyR2 none network
-ttyR3 none network
-ttyR4 none network
-ttyR5 none network
-ttyR6 none network
-ttyR7 none network
-ttyR8 none network
-ttyR9 none network
-ttyRa none network
-ttyRb none network
-ttyRc none network
-ttyRd none network
-ttyRe none network
-ttyRf none network
-ttyRg none network
-ttyRh none network
-ttyRi none network
-ttyRj none network
-ttyRk none network
-ttyRl none network
-ttyRm none network
-ttyRn none network
-ttyRo none network
-ttyRp none network
-ttyRq none network
-ttyRr none network
-ttyRs none network
-ttyRt none network
-ttyRu none network
-ttyRv none network
-ttyS0 none network
-ttyS1 none network
-ttyS2 none network
-ttyS3 none network
-ttyS4 none network
-ttyS5 none network
-ttyS6 none network
-ttyS7 none network
-ttyS8 none network
-ttyS9 none network
-ttySa none network
-ttySb none network
-ttySc none network
-ttySd none network
-ttySe none network
-ttySf none network
-ttySg none network
-ttySh none network
-ttySi none network
-ttySj none network
-ttySk none network
-ttySl none network
-ttySm none network
-ttySn none network
-ttySo none network
-ttySp none network
-ttySq none network
-ttySr none network
-ttySs none network
-ttySt none network
-ttySu none network
-ttySv none network
diff --git a/etc/etc.pc98/ttys b/etc/etc.pc98/ttys
index 248a0e5..bf4b558 100644
--- a/etc/etc.pc98/ttys
+++ b/etc/etc.pc98/ttys
@@ -48,260 +48,3 @@ ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
-# Pseudo terminals
-ttyp0 none network
-ttyp1 none network
-ttyp2 none network
-ttyp3 none network
-ttyp4 none network
-ttyp5 none network
-ttyp6 none network
-ttyp7 none network
-ttyp8 none network
-ttyp9 none network
-ttypa none network
-ttypb none network
-ttypc none network
-ttypd none network
-ttype none network
-ttypf none network
-ttypg none network
-ttyph none network
-ttypi none network
-ttypj none network
-ttypk none network
-ttypl none network
-ttypm none network
-ttypn none network
-ttypo none network
-ttypp none network
-ttypq none network
-ttypr none network
-ttyps none network
-ttypt none network
-ttypu none network
-ttypv none network
-ttyq0 none network
-ttyq1 none network
-ttyq2 none network
-ttyq3 none network
-ttyq4 none network
-ttyq5 none network
-ttyq6 none network
-ttyq7 none network
-ttyq8 none network
-ttyq9 none network
-ttyqa none network
-ttyqb none network
-ttyqc none network
-ttyqd none network
-ttyqe none network
-ttyqf none network
-ttyqg none network
-ttyqh none network
-ttyqi none network
-ttyqj none network
-ttyqk none network
-ttyql none network
-ttyqm none network
-ttyqn none network
-ttyqo none network
-ttyqp none network
-ttyqq none network
-ttyqr none network
-ttyqs none network
-ttyqt none network
-ttyqu none network
-ttyqv none network
-ttyr0 none network
-ttyr1 none network
-ttyr2 none network
-ttyr3 none network
-ttyr4 none network
-ttyr5 none network
-ttyr6 none network
-ttyr7 none network
-ttyr8 none network
-ttyr9 none network
-ttyra none network
-ttyrb none network
-ttyrc none network
-ttyrd none network
-ttyre none network
-ttyrf none network
-ttyrg none network
-ttyrh none network
-ttyri none network
-ttyrj none network
-ttyrk none network
-ttyrl none network
-ttyrm none network
-ttyrn none network
-ttyro none network
-ttyrp none network
-ttyrq none network
-ttyrr none network
-ttyrs none network
-ttyrt none network
-ttyru none network
-ttyrv none network
-ttys0 none network
-ttys1 none network
-ttys2 none network
-ttys3 none network
-ttys4 none network
-ttys5 none network
-ttys6 none network
-ttys7 none network
-ttys8 none network
-ttys9 none network
-ttysa none network
-ttysb none network
-ttysc none network
-ttysd none network
-ttyse none network
-ttysf none network
-ttysg none network
-ttysh none network
-ttysi none network
-ttysj none network
-ttysk none network
-ttysl none network
-ttysm none network
-ttysn none network
-ttyso none network
-ttysp none network
-ttysq none network
-ttysr none network
-ttyss none network
-ttyst none network
-ttysu none network
-ttysv none network
-ttyP0 none network
-ttyP1 none network
-ttyP2 none network
-ttyP3 none network
-ttyP4 none network
-ttyP5 none network
-ttyP6 none network
-ttyP7 none network
-ttyP8 none network
-ttyP9 none network
-ttyPa none network
-ttyPb none network
-ttyPc none network
-ttyPd none network
-ttyPe none network
-ttyPf none network
-ttyPg none network
-ttyPh none network
-ttyPi none network
-ttyPj none network
-ttyPk none network
-ttyPl none network
-ttyPm none network
-ttyPn none network
-ttyPo none network
-ttyPp none network
-ttyPq none network
-ttyPr none network
-ttyPs none network
-ttyPt none network
-ttyPu none network
-ttyPv none network
-ttyQ0 none network
-ttyQ1 none network
-ttyQ2 none network
-ttyQ3 none network
-ttyQ4 none network
-ttyQ5 none network
-ttyQ6 none network
-ttyQ7 none network
-ttyQ8 none network
-ttyQ9 none network
-ttyQa none network
-ttyQb none network
-ttyQc none network
-ttyQd none network
-ttyQe none network
-ttyQf none network
-ttyQg none network
-ttyQh none network
-ttyQi none network
-ttyQj none network
-ttyQk none network
-ttyQl none network
-ttyQm none network
-ttyQn none network
-ttyQo none network
-ttyQp none network
-ttyQq none network
-ttyQr none network
-ttyQs none network
-ttyQt none network
-ttyQu none network
-ttyQv none network
-ttyR0 none network
-ttyR1 none network
-ttyR2 none network
-ttyR3 none network
-ttyR4 none network
-ttyR5 none network
-ttyR6 none network
-ttyR7 none network
-ttyR8 none network
-ttyR9 none network
-ttyRa none network
-ttyRb none network
-ttyRc none network
-ttyRd none network
-ttyRe none network
-ttyRf none network
-ttyRg none network
-ttyRh none network
-ttyRi none network
-ttyRj none network
-ttyRk none network
-ttyRl none network
-ttyRm none network
-ttyRn none network
-ttyRo none network
-ttyRp none network
-ttyRq none network
-ttyRr none network
-ttyRs none network
-ttyRt none network
-ttyRu none network
-ttyRv none network
-ttyS0 none network
-ttyS1 none network
-ttyS2 none network
-ttyS3 none network
-ttyS4 none network
-ttyS5 none network
-ttyS6 none network
-ttyS7 none network
-ttyS8 none network
-ttyS9 none network
-ttySa none network
-ttySb none network
-ttySc none network
-ttySd none network
-ttySe none network
-ttySf none network
-ttySg none network
-ttySh none network
-ttySi none network
-ttySj none network
-ttySk none network
-ttySl none network
-ttySm none network
-ttySn none network
-ttySo none network
-ttySp none network
-ttySq none network
-ttySr none network
-ttySs none network
-ttySt none network
-ttySu none network
-ttySv none network
diff --git a/etc/etc.powerpc/ttys b/etc/etc.powerpc/ttys
index b85b2bf..6a04446 100644
--- a/etc/etc.powerpc/ttys
+++ b/etc/etc.powerpc/ttys
@@ -48,260 +48,3 @@ ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
-# Pseudo terminals
-ttyp0 none network
-ttyp1 none network
-ttyp2 none network
-ttyp3 none network
-ttyp4 none network
-ttyp5 none network
-ttyp6 none network
-ttyp7 none network
-ttyp8 none network
-ttyp9 none network
-ttypa none network
-ttypb none network
-ttypc none network
-ttypd none network
-ttype none network
-ttypf none network
-ttypg none network
-ttyph none network
-ttypi none network
-ttypj none network
-ttypk none network
-ttypl none network
-ttypm none network
-ttypn none network
-ttypo none network
-ttypp none network
-ttypq none network
-ttypr none network
-ttyps none network
-ttypt none network
-ttypu none network
-ttypv none network
-ttyq0 none network
-ttyq1 none network
-ttyq2 none network
-ttyq3 none network
-ttyq4 none network
-ttyq5 none network
-ttyq6 none network
-ttyq7 none network
-ttyq8 none network
-ttyq9 none network
-ttyqa none network
-ttyqb none network
-ttyqc none network
-ttyqd none network
-ttyqe none network
-ttyqf none network
-ttyqg none network
-ttyqh none network
-ttyqi none network
-ttyqj none network
-ttyqk none network
-ttyql none network
-ttyqm none network
-ttyqn none network
-ttyqo none network
-ttyqp none network
-ttyqq none network
-ttyqr none network
-ttyqs none network
-ttyqt none network
-ttyqu none network
-ttyqv none network
-ttyr0 none network
-ttyr1 none network
-ttyr2 none network
-ttyr3 none network
-ttyr4 none network
-ttyr5 none network
-ttyr6 none network
-ttyr7 none network
-ttyr8 none network
-ttyr9 none network
-ttyra none network
-ttyrb none network
-ttyrc none network
-ttyrd none network
-ttyre none network
-ttyrf none network
-ttyrg none network
-ttyrh none network
-ttyri none network
-ttyrj none network
-ttyrk none network
-ttyrl none network
-ttyrm none network
-ttyrn none network
-ttyro none network
-ttyrp none network
-ttyrq none network
-ttyrr none network
-ttyrs none network
-ttyrt none network
-ttyru none network
-ttyrv none network
-ttys0 none network
-ttys1 none network
-ttys2 none network
-ttys3 none network
-ttys4 none network
-ttys5 none network
-ttys6 none network
-ttys7 none network
-ttys8 none network
-ttys9 none network
-ttysa none network
-ttysb none network
-ttysc none network
-ttysd none network
-ttyse none network
-ttysf none network
-ttysg none network
-ttysh none network
-ttysi none network
-ttysj none network
-ttysk none network
-ttysl none network
-ttysm none network
-ttysn none network
-ttyso none network
-ttysp none network
-ttysq none network
-ttysr none network
-ttyss none network
-ttyst none network
-ttysu none network
-ttysv none network
-ttyP0 none network
-ttyP1 none network
-ttyP2 none network
-ttyP3 none network
-ttyP4 none network
-ttyP5 none network
-ttyP6 none network
-ttyP7 none network
-ttyP8 none network
-ttyP9 none network
-ttyPa none network
-ttyPb none network
-ttyPc none network
-ttyPd none network
-ttyPe none network
-ttyPf none network
-ttyPg none network
-ttyPh none network
-ttyPi none network
-ttyPj none network
-ttyPk none network
-ttyPl none network
-ttyPm none network
-ttyPn none network
-ttyPo none network
-ttyPp none network
-ttyPq none network
-ttyPr none network
-ttyPs none network
-ttyPt none network
-ttyPu none network
-ttyPv none network
-ttyQ0 none network
-ttyQ1 none network
-ttyQ2 none network
-ttyQ3 none network
-ttyQ4 none network
-ttyQ5 none network
-ttyQ6 none network
-ttyQ7 none network
-ttyQ8 none network
-ttyQ9 none network
-ttyQa none network
-ttyQb none network
-ttyQc none network
-ttyQd none network
-ttyQe none network
-ttyQf none network
-ttyQg none network
-ttyQh none network
-ttyQi none network
-ttyQj none network
-ttyQk none network
-ttyQl none network
-ttyQm none network
-ttyQn none network
-ttyQo none network
-ttyQp none network
-ttyQq none network
-ttyQr none network
-ttyQs none network
-ttyQt none network
-ttyQu none network
-ttyQv none network
-ttyR0 none network
-ttyR1 none network
-ttyR2 none network
-ttyR3 none network
-ttyR4 none network
-ttyR5 none network
-ttyR6 none network
-ttyR7 none network
-ttyR8 none network
-ttyR9 none network
-ttyRa none network
-ttyRb none network
-ttyRc none network
-ttyRd none network
-ttyRe none network
-ttyRf none network
-ttyRg none network
-ttyRh none network
-ttyRi none network
-ttyRj none network
-ttyRk none network
-ttyRl none network
-ttyRm none network
-ttyRn none network
-ttyRo none network
-ttyRp none network
-ttyRq none network
-ttyRr none network
-ttyRs none network
-ttyRt none network
-ttyRu none network
-ttyRv none network
-ttyS0 none network
-ttyS1 none network
-ttyS2 none network
-ttyS3 none network
-ttyS4 none network
-ttyS5 none network
-ttyS6 none network
-ttyS7 none network
-ttyS8 none network
-ttyS9 none network
-ttySa none network
-ttySb none network
-ttySc none network
-ttySd none network
-ttySe none network
-ttySf none network
-ttySg none network
-ttySh none network
-ttySi none network
-ttySj none network
-ttySk none network
-ttySl none network
-ttySm none network
-ttySn none network
-ttySo none network
-ttySp none network
-ttySq none network
-ttySr none network
-ttySs none network
-ttySt none network
-ttySu none network
-ttySv none network
diff --git a/etc/etc.sparc64/ttys b/etc/etc.sparc64/ttys
index 3deebf3..5b38b65 100644
--- a/etc/etc.sparc64/ttys
+++ b/etc/etc.sparc64/ttys
@@ -53,260 +53,3 @@ ttyu2 "/usr/libexec/getty std.9600" vt100 on secure
ttyu3 "/usr/libexec/getty std.9600" vt100 off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
-# Pseudo terminals
-ttyp0 none network
-ttyp1 none network
-ttyp2 none network
-ttyp3 none network
-ttyp4 none network
-ttyp5 none network
-ttyp6 none network
-ttyp7 none network
-ttyp8 none network
-ttyp9 none network
-ttypa none network
-ttypb none network
-ttypc none network
-ttypd none network
-ttype none network
-ttypf none network
-ttypg none network
-ttyph none network
-ttypi none network
-ttypj none network
-ttypk none network
-ttypl none network
-ttypm none network
-ttypn none network
-ttypo none network
-ttypp none network
-ttypq none network
-ttypr none network
-ttyps none network
-ttypt none network
-ttypu none network
-ttypv none network
-ttyq0 none network
-ttyq1 none network
-ttyq2 none network
-ttyq3 none network
-ttyq4 none network
-ttyq5 none network
-ttyq6 none network
-ttyq7 none network
-ttyq8 none network
-ttyq9 none network
-ttyqa none network
-ttyqb none network
-ttyqc none network
-ttyqd none network
-ttyqe none network
-ttyqf none network
-ttyqg none network
-ttyqh none network
-ttyqi none network
-ttyqj none network
-ttyqk none network
-ttyql none network
-ttyqm none network
-ttyqn none network
-ttyqo none network
-ttyqp none network
-ttyqq none network
-ttyqr none network
-ttyqs none network
-ttyqt none network
-ttyqu none network
-ttyqv none network
-ttyr0 none network
-ttyr1 none network
-ttyr2 none network
-ttyr3 none network
-ttyr4 none network
-ttyr5 none network
-ttyr6 none network
-ttyr7 none network
-ttyr8 none network
-ttyr9 none network
-ttyra none network
-ttyrb none network
-ttyrc none network
-ttyrd none network
-ttyre none network
-ttyrf none network
-ttyrg none network
-ttyrh none network
-ttyri none network
-ttyrj none network
-ttyrk none network
-ttyrl none network
-ttyrm none network
-ttyrn none network
-ttyro none network
-ttyrp none network
-ttyrq none network
-ttyrr none network
-ttyrs none network
-ttyrt none network
-ttyru none network
-ttyrv none network
-ttys0 none network
-ttys1 none network
-ttys2 none network
-ttys3 none network
-ttys4 none network
-ttys5 none network
-ttys6 none network
-ttys7 none network
-ttys8 none network
-ttys9 none network
-ttysa none network
-ttysb none network
-ttysc none network
-ttysd none network
-ttyse none network
-ttysf none network
-ttysg none network
-ttysh none network
-ttysi none network
-ttysj none network
-ttysk none network
-ttysl none network
-ttysm none network
-ttysn none network
-ttyso none network
-ttysp none network
-ttysq none network
-ttysr none network
-ttyss none network
-ttyst none network
-ttysu none network
-ttysv none network
-ttyP0 none network
-ttyP1 none network
-ttyP2 none network
-ttyP3 none network
-ttyP4 none network
-ttyP5 none network
-ttyP6 none network
-ttyP7 none network
-ttyP8 none network
-ttyP9 none network
-ttyPa none network
-ttyPb none network
-ttyPc none network
-ttyPd none network
-ttyPe none network
-ttyPf none network
-ttyPg none network
-ttyPh none network
-ttyPi none network
-ttyPj none network
-ttyPk none network
-ttyPl none network
-ttyPm none network
-ttyPn none network
-ttyPo none network
-ttyPp none network
-ttyPq none network
-ttyPr none network
-ttyPs none network
-ttyPt none network
-ttyPu none network
-ttyPv none network
-ttyQ0 none network
-ttyQ1 none network
-ttyQ2 none network
-ttyQ3 none network
-ttyQ4 none network
-ttyQ5 none network
-ttyQ6 none network
-ttyQ7 none network
-ttyQ8 none network
-ttyQ9 none network
-ttyQa none network
-ttyQb none network
-ttyQc none network
-ttyQd none network
-ttyQe none network
-ttyQf none network
-ttyQg none network
-ttyQh none network
-ttyQi none network
-ttyQj none network
-ttyQk none network
-ttyQl none network
-ttyQm none network
-ttyQn none network
-ttyQo none network
-ttyQp none network
-ttyQq none network
-ttyQr none network
-ttyQs none network
-ttyQt none network
-ttyQu none network
-ttyQv none network
-ttyR0 none network
-ttyR1 none network
-ttyR2 none network
-ttyR3 none network
-ttyR4 none network
-ttyR5 none network
-ttyR6 none network
-ttyR7 none network
-ttyR8 none network
-ttyR9 none network
-ttyRa none network
-ttyRb none network
-ttyRc none network
-ttyRd none network
-ttyRe none network
-ttyRf none network
-ttyRg none network
-ttyRh none network
-ttyRi none network
-ttyRj none network
-ttyRk none network
-ttyRl none network
-ttyRm none network
-ttyRn none network
-ttyRo none network
-ttyRp none network
-ttyRq none network
-ttyRr none network
-ttyRs none network
-ttyRt none network
-ttyRu none network
-ttyRv none network
-ttyS0 none network
-ttyS1 none network
-ttyS2 none network
-ttyS3 none network
-ttyS4 none network
-ttyS5 none network
-ttyS6 none network
-ttyS7 none network
-ttyS8 none network
-ttyS9 none network
-ttySa none network
-ttySb none network
-ttySc none network
-ttySd none network
-ttySe none network
-ttySf none network
-ttySg none network
-ttySh none network
-ttySi none network
-ttySj none network
-ttySk none network
-ttySl none network
-ttySm none network
-ttySn none network
-ttySo none network
-ttySp none network
-ttySq none network
-ttySr none network
-ttySs none network
-ttySt none network
-ttySu none network
-ttySv none network
diff --git a/lib/libc/gen/getttyent.c b/lib/libc/gen/getttyent.c
index 99d9821..9b9e3ea 100644
--- a/lib/libc/gen/getttyent.c
+++ b/lib/libc/gen/getttyent.c
@@ -38,17 +38,12 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
-#include <dirent.h>
-#include <paths.h>
static char zapchar;
static FILE *tf;
-static int maxpts = -1;
-static int curpts = 0;
static size_t lbsize;
static char *line;
-#define PTS "pts/"
#define MALLOCCHUNK 100
static char *skip(char *);
@@ -73,7 +68,6 @@ struct ttyent *
getttyent(void)
{
static struct ttyent tty;
- static char devpts_name[] = "pts/4294967295";
char *p;
int c;
size_t i;
@@ -81,19 +75,8 @@ getttyent(void)
if (!tf && !setttyent())
return (NULL);
for (;;) {
- if (!fgets(p = line, lbsize, tf)) {
- if (curpts <= maxpts) {
- sprintf(devpts_name, "pts/%d", curpts++);
- tty.ty_name = devpts_name;
- tty.ty_getty = tty.ty_type = NULL;
- tty.ty_status = TTY_NETWORK;
- tty.ty_window = NULL;
- tty.ty_comment = NULL;
- tty.ty_group = _TTYS_NOGROUP;
- return (&tty);
- }
+ if (!fgets(p = line, lbsize, tf))
return (NULL);
- }
/* extend buffer if line was too big, and retry */
while (!index(p, '\n') && !feof(tf)) {
i = strlen(p);
@@ -219,29 +202,12 @@ value(char *p)
int
setttyent(void)
{
- DIR *devpts_dir;
if (line == NULL) {
if ((line = malloc(MALLOCCHUNK)) == NULL)
return (0);
lbsize = MALLOCCHUNK;
}
- devpts_dir = opendir(_PATH_DEV PTS);
- if (devpts_dir) {
- struct dirent *dp;
-
- maxpts = -1;
- while ((dp = readdir(devpts_dir))) {
- if (strcmp(dp->d_name, ".") != 0 &&
- strcmp(dp->d_name, "..") != 0) {
- if (atoi(dp->d_name) > maxpts) {
- maxpts = atoi(dp->d_name);
- curpts = 0;
- }
- }
- }
- closedir(devpts_dir);
- }
if (tf) {
rewind(tf);
return (1);
@@ -255,7 +221,6 @@ endttyent(void)
{
int rval;
- maxpts = -1;
/*
* NB: Don't free `line' because getttynam()
* may still be referencing it
OpenPOWER on IntegriCloud