* [DistroKit] [PATCH 1/4] mips: kernel-malta: disable legacy BSD-style pseudo-terminals
@ 2021-08-18 20:58 Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 2/4] mipsel: " Roland Hieber
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Roland Hieber @ 2021-08-18 20:58 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
Linux has traditionally used the BSD-like names like /dev/ptyxx for
masters and /dev/ttyxx for slaves of pseudo-terminals. This scheme has a
number of problems, including security, but is still provided for
backwards-compatibility. All modern Linux systems since glibc 2.1 use
Unix98-style pty names (/dev/pts/*), so support for the legacy BSD-style
names is not needed.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-mips/kernelconfig-malta | 3 +--
configs/platform-mips/kernelconfig-malta.diff | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index 06a3fa88eec7..571535996a5a 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -2123,8 +2123,7 @@ CONFIG_SERIO_LIBPS2=y
CONFIG_TTY=y
# CONFIG_VT is not set
CONFIG_UNIX98_PTYS=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_LEGACY_PTYS is not set
CONFIG_LDISC_AUTOLOAD=y
#
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index e48bd534661e..7c72511a93fe 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -752,8 +752,6 @@
# CONFIG_LEDS_TRIGGER_TRANSIENT is undefined
# CONFIG_LEDS_USER is undefined
# CONFIG_LED_TRIGGER_PHY is undefined
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
CONFIG_LIB80211=m
CONFIG_LIB80211_CRYPT_CCMP=m
CONFIG_LIB80211_CRYPT_TKIP=m
--
2.30.2
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* [DistroKit] [PATCH 2/4] mipsel: kernel-malta: disable legacy BSD-style pseudo-terminals
2021-08-18 20:58 [DistroKit] [PATCH 1/4] mips: kernel-malta: disable legacy BSD-style pseudo-terminals Roland Hieber
@ 2021-08-18 20:58 ` Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 3/4] v8a: kernel: " Roland Hieber
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Roland Hieber @ 2021-08-18 20:58 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
Linux has traditionally used the BSD-like names like /dev/ptyxx for
masters and /dev/ttyxx for slaves of pseudo-terminals. This scheme has a
number of problems, including security, but is still provided for
backwards-compatibility. All modern Linux systems since glibc 2.1 use
Unix98-style pty names (/dev/pts/*), so support for the legacy BSD-style
names is not needed.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-mipsel/kernelconfig-malta | 3 +--
configs/platform-mipsel/kernelconfig-malta.diff | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta
index 90f909e4cc5e..014163613b65 100644
--- a/configs/platform-mipsel/kernelconfig-malta
+++ b/configs/platform-mipsel/kernelconfig-malta
@@ -2116,8 +2116,7 @@ CONFIG_SERIO_LIBPS2=y
CONFIG_TTY=y
# CONFIG_VT is not set
CONFIG_UNIX98_PTYS=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_LEGACY_PTYS is not set
CONFIG_LDISC_AUTOLOAD=y
#
diff --git a/configs/platform-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff
index 31bcd4051ada..aac20a6956a5 100644
--- a/configs/platform-mipsel/kernelconfig-malta.diff
+++ b/configs/platform-mipsel/kernelconfig-malta.diff
@@ -727,8 +727,6 @@
# CONFIG_LEDS_TRIGGER_TRANSIENT is undefined
# CONFIG_LEDS_USER is undefined
# CONFIG_LED_TRIGGER_PHY is undefined
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_LEMOTE_FULOONG2E is undefined
# CONFIG_LEMOTE_MACH2F is undefined
CONFIG_LIB80211=m
--
2.30.2
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* [DistroKit] [PATCH 3/4] v8a: kernel: disable legacy BSD-style pseudo-terminals
2021-08-18 20:58 [DistroKit] [PATCH 1/4] mips: kernel-malta: disable legacy BSD-style pseudo-terminals Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 2/4] mipsel: " Roland Hieber
@ 2021-08-18 20:58 ` Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 4/4] x86_64: " Roland Hieber
2021-08-19 12:58 ` [DistroKit] [PATCH 1/4] mips: kernel-malta: " Robert Schwebel
3 siblings, 0 replies; 5+ messages in thread
From: Roland Hieber @ 2021-08-18 20:58 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
Linux has traditionally used the BSD-like names like /dev/ptyxx for
masters and /dev/ttyxx for slaves of pseudo-terminals. This scheme has a
number of problems, including security, but is still provided for
backwards-compatibility. All modern Linux systems since glibc 2.1 use
Unix98-style pty names (/dev/pts/*), so support for the legacy BSD-style
names is not needed.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-v8a/kernelconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/platform-v8a/kernelconfig b/configs/platform-v8a/kernelconfig
index 4a0405761520..477777f58d8d 100644
--- a/configs/platform-v8a/kernelconfig
+++ b/configs/platform-v8a/kernelconfig
@@ -2804,8 +2804,7 @@ CONFIG_SERIO_LIBPS2=y
CONFIG_TTY=y
# CONFIG_VT is not set
CONFIG_UNIX98_PTYS=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=16
+# CONFIG_LEGACY_PTYS is not set
CONFIG_LDISC_AUTOLOAD=y
#
--
2.30.2
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* [DistroKit] [PATCH 4/4] x86_64: kernel: disable legacy BSD-style pseudo-terminals
2021-08-18 20:58 [DistroKit] [PATCH 1/4] mips: kernel-malta: disable legacy BSD-style pseudo-terminals Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 2/4] mipsel: " Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 3/4] v8a: kernel: " Roland Hieber
@ 2021-08-18 20:58 ` Roland Hieber
2021-08-19 12:58 ` [DistroKit] [PATCH 1/4] mips: kernel-malta: " Robert Schwebel
3 siblings, 0 replies; 5+ messages in thread
From: Roland Hieber @ 2021-08-18 20:58 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
Linux has traditionally used the BSD-like names like /dev/ptyxx for
masters and /dev/ttyxx for slaves of pseudo-terminals. This scheme has a
number of problems, including security, but is still provided for
backwards-compatibility. All modern Linux systems since glibc 2.1 use
Unix98-style pty names (/dev/pts/*), so support for the legacy BSD-style
names is not needed.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-x86_64/kernelconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/platform-x86_64/kernelconfig b/configs/platform-x86_64/kernelconfig
index 33c62752f14a..e54b820c8fd9 100644
--- a/configs/platform-x86_64/kernelconfig
+++ b/configs/platform-x86_64/kernelconfig
@@ -1774,8 +1774,7 @@ CONFIG_SERIO_LIBPS2=y
CONFIG_TTY=y
# CONFIG_VT is not set
CONFIG_UNIX98_PTYS=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_LEGACY_PTYS is not set
CONFIG_LDISC_AUTOLOAD=y
#
--
2.30.2
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [DistroKit] [PATCH 1/4] mips: kernel-malta: disable legacy BSD-style pseudo-terminals
2021-08-18 20:58 [DistroKit] [PATCH 1/4] mips: kernel-malta: disable legacy BSD-style pseudo-terminals Roland Hieber
` (2 preceding siblings ...)
2021-08-18 20:58 ` [DistroKit] [PATCH 4/4] x86_64: " Roland Hieber
@ 2021-08-19 12:58 ` Robert Schwebel
3 siblings, 0 replies; 5+ messages in thread
From: Robert Schwebel @ 2021-08-19 12:58 UTC (permalink / raw)
To: Roland Hieber; +Cc: distrokit
On Wed, Aug 18, 2021 at 10:58:45PM +0200, Roland Hieber wrote:
> Linux has traditionally used the BSD-like names like /dev/ptyxx for
> masters and /dev/ttyxx for slaves of pseudo-terminals. This scheme has a
> number of problems, including security, but is still provided for
> backwards-compatibility. All modern Linux systems since glibc 2.1 use
> Unix98-style pty names (/dev/pts/*), so support for the legacy BSD-style
> names is not needed.
>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> configs/platform-mips/kernelconfig-malta | 3 +--
> configs/platform-mips/kernelconfig-malta.diff | 2 --
> 2 files changed, 1 insertion(+), 4 deletions(-)
Series applied to next.
rsc
--
Pengutronix e.K. | Dipl.-Ing. Robert Schwebel |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-08-19 12:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18 20:58 [DistroKit] [PATCH 1/4] mips: kernel-malta: disable legacy BSD-style pseudo-terminals Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 2/4] mipsel: " Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 3/4] v8a: kernel: " Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 4/4] x86_64: " Roland Hieber
2021-08-19 12:58 ` [DistroKit] [PATCH 1/4] mips: kernel-malta: " Robert Schwebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox