diff options
author | Roland Hieber <rhi@pengutronix.de> | 2021-08-18 22:58:46 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2021-08-19 14:58:10 +0200 |
commit | 5c1bc98dba0d6c083d29a68c1169066cf2662a57 (patch) | |
tree | dfbede8e44f0b994670ce8a2d3730f258d86a117 | |
parent | 63061ca5136782f50e207e7839843d317b3c6362 (diff) | |
download | DistroKit-5c1bc98dba0d6c083d29a68c1169066cf2662a57.tar.gz DistroKit-5c1bc98dba0d6c083d29a68c1169066cf2662a57.tar.xz |
mipsel: 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-2-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r-- | configs/platform-mipsel/kernelconfig-malta | 3 | ||||
-rw-r--r-- | configs/platform-mipsel/kernelconfig-malta.diff | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta index 90f909e..0141636 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 31bcd40..aac20a6 100644 --- a/configs/platform-mipsel/kernelconfig-malta.diff +++ b/configs/platform-mipsel/kernelconfig-malta.diff @@ -727,8 +727,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_LEMOTE_FULOONG2E is undefined # CONFIG_LEMOTE_MACH2F is undefined CONFIG_LIB80211=m |