kernel: Deactivate CONFIG_LEGACY_PTYS
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Apr 2023 13:40:59 +0000 (15:40 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 19:56:53 +0000 (21:56 +0200)
The legacy (BSD) PTY support could open security problems in a system,
We do not need them in OpenWrt, deactivate this option in all targets.

Debian also deactivates this option.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
12 files changed:
target/linux/mpc85xx/config-5.10
target/linux/mpc85xx/config-5.15
target/linux/realtek/rtl838x/config-5.10
target/linux/realtek/rtl838x/config-5.15
target/linux/realtek/rtl839x/config-5.10
target/linux/realtek/rtl839x/config-5.15
target/linux/realtek/rtl930x/config-5.10
target/linux/realtek/rtl930x/config-5.15
target/linux/realtek/rtl931x/config-5.10
target/linux/realtek/rtl931x/config-5.15
target/linux/rockchip/armv8/config-5.10
target/linux/rockchip/armv8/config-5.15

index 1885a961fedfb88ffb61a2212cf4e9255940ce00..c2044fabd057dc7bbf256e5869049bc9edb83cb4 100644 (file)
@@ -112,8 +112,6 @@ CONFIG_IRQ_WORK=y
 CONFIG_ISA_DMA_API=y
 CONFIG_KERNEL_START=0xc0000000
 # CONFIG_KSI8560 is not set
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_LOWMEM_CAM_NUM=3
index 42d17c13610a11f7b7b1537592934f8a06455f23..9c051e63c12a1d2e16071e416f8928924515e0b5 100644 (file)
@@ -112,8 +112,6 @@ CONFIG_IRQ_WORK=y
 CONFIG_ISA_DMA_API=y
 CONFIG_KERNEL_START=0xc0000000
 # CONFIG_KSI8560 is not set
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_LOWMEM_CAM_NUM=3
index 9749eec27bef2b35ab14f867edb3ca62c18ff8cd..e763557a9f4fe2c7c95a50ef43ab46f36dea73e3 100644 (file)
@@ -116,8 +116,6 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MARVELL_PHY=y
index 4e4ed9f44b708d662b81204941da78d21334cc27..ad2c1b43cce8d7de67c3e39f2a61b899ba25e486 100644 (file)
@@ -114,8 +114,6 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MARVELL_PHY=y
index 9377d482d7e7a7d385375dd71722f9b099fa4ed9..d464c722251ef5726a52ea0853cb7aaffdf52b74 100644 (file)
@@ -109,8 +109,6 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LLD_VERSION=0
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
index 17edb2b3bb19aebe5305704f23a48a8de5852d32..5fa52ba882eed3a6734213f14ee8368805be0e52 100644 (file)
@@ -111,8 +111,6 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MARVELL_PHY=y
index bd275a28ba7b9a458cfe4502a37504c70a79c4be..f61a200c9141c51b3d5b86a22b0d6951638b80ad 100644 (file)
@@ -100,8 +100,6 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LLD_VERSION=0
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
index 35365370efa4656ae3d06c32e9db23c1a38e6464..af5f2ca7a313b42db2482d9de0b763bff4317316 100644 (file)
@@ -95,8 +95,6 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MARVELL_PHY=y
index 1a6546c0313ba2118c3a0c92780bc6836bf80f12..36e748680476bb99820553cd4a666ff71e8a1de3 100644 (file)
@@ -101,8 +101,6 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LLD_VERSION=0
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
index 3abc49a4e950fb82dd2ab78513acd7a1ea573d3f..2da27941c74c395d47d3bcf17782b7fc5cff6787 100644 (file)
@@ -103,8 +103,6 @@ CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_KMAP_LOCAL=y
 CONFIG_LEDS_GPIO=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MARVELL_PHY=y
index 794283fcd9643ff140b5ec7e2c2d826834e72d1e..5f4ded36e0c6c62dbd5f4f0176141884da9c4327 100644 (file)
@@ -313,8 +313,6 @@ CONFIG_LEDS_PWM=y
 CONFIG_LEDS_SYSCON=y
 CONFIG_LEDS_TRIGGER_CPU=y
 CONFIG_LEDS_TRIGGER_PANIC=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=16
 CONFIG_LIBCRC32C=y
 CONFIG_LIBFDT=y
 CONFIG_LOCALVERSION_AUTO=y
index dc1fbb3d54598e968e67c8ee2ee1ad710d3383db..bb6048971466f1c80b3589d8dafbd648cc0cc4b5 100644 (file)
@@ -312,8 +312,6 @@ CONFIG_LEDS_PWM=y
 CONFIG_LEDS_SYSCON=y
 CONFIG_LEDS_TRIGGER_CPU=y
 CONFIG_LEDS_TRIGGER_PANIC=y
-CONFIG_LEGACY_PTYS=y
-CONFIG_LEGACY_PTY_COUNT=16
 CONFIG_LIBCRC32C=y
 CONFIG_LIBFDT=y
 CONFIG_LOCALVERSION_AUTO=y