summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2021-08-18 22:58:48 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2021-08-19 14:58:10 +0200
commit35946dcf1f7c87fe1498d8ed71e695194a494c08 (patch)
tree0c3484a4b639b44d8782de6209274ed736305ca8 /configs
parent51c588aaf1b739e11841ecc7c482be335979d882 (diff)
downloadDistroKit-35946dcf1f7c87fe1498d8ed71e695194a494c08.tar.gz
DistroKit-35946dcf1f7c87fe1498d8ed71e695194a494c08.tar.xz
x86_64: kernel: 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-4-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/platform-x86_64/kernelconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/configs/platform-x86_64/kernelconfig b/configs/platform-x86_64/kernelconfig
index 33c6275..e54b820 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
#