summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2021-08-18 22:58:47 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2021-08-19 14:58:10 +0200
commit51c588aaf1b739e11841ecc7c482be335979d882 (patch)
tree761009cba626a250b96ce17e241bbdf905347ddd /configs
parent5c1bc98dba0d6c083d29a68c1169066cf2662a57 (diff)
downloadDistroKit-51c588aaf1b739e11841ecc7c482be335979d882.tar.gz
DistroKit-51c588aaf1b739e11841ecc7c482be335979d882.tar.xz
v8a: 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-3-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/platform-v8a/kernelconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/configs/platform-v8a/kernelconfig b/configs/platform-v8a/kernelconfig
index 4a04057..477777f 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
#