diff options
author | Roland Hieber <rhi@pengutronix.de> | 2021-08-18 22:58:45 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2021-08-19 14:58:10 +0200 |
commit | 63061ca5136782f50e207e7839843d317b3c6362 (patch) | |
tree | 5e8872442c324d1f270fb819378cc315eb376210 | |
parent | bbd2bc2ecb5d97b1ec3ae6e3111547621d51da92 (diff) | |
download | DistroKit-63061ca5136782f50e207e7839843d317b3c6362.tar.gz DistroKit-63061ca5136782f50e207e7839843d317b3c6362.tar.xz |
mips: kernel-malta: disable legacy BSD-style pseudo-terminals
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>
Link: https://lore.pengutronix.de/20210818205848.26402-1-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r-- | configs/platform-mips/kernelconfig-malta | 3 | ||||
-rw-r--r-- | configs/platform-mips/kernelconfig-malta.diff | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta index 06a3fa8..5715359 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 e48bd53..7c72511 100644 --- a/configs/platform-mips/kernelconfig-malta.diff +++ b/configs/platform-mips/kernelconfig-malta.diff @@ -752,8 +752,6 @@ CONFIG_KEYBOARD_ATKBD=y # 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 |