DistroKit Mailinglist
 help / color / mirror / Atom feed
* [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

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