Skip to content

Commit 9b66542

Browse files
AaronDotopsiff
authored andcommitted
LoongArch: configs: Disable CONFIG_LEGACY_PTYS to fix gnulib test failures
The legacy PTY driver (CONFIG_LEGACY_PTYS) is deprecated and not required for most modern systems. It causes unexpected behavior during gnulib tests, leading to test failures related to pseudo-terminal handling. Disabling CONFIG_LEGACY_PTYS removes the old /dev/pty* and /dev/tty* interfaces, allowing gnulib tests to run successfully with the modern /dev/pts/* subsystem. Signed-off-by: yangxiaojuan <yangxiaojuan@loongson.cn> Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> (cherry picked from commit 026f020) Signed-off-by: Wentao Guan <guanwentao@uniontech.com> Conflicts: arch/loongarch/configs/loongson3_defconfig
1 parent dcd25ae commit 9b66542

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

arch/loongarch/configs/deepin_loongarch_desktop_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5839,3 +5839,4 @@ CONFIG_RV=y
58395839
CONFIG_RV_MON_WWNR=y
58405840
# CONFIG_STRICT_DEVMEM is not set
58415841
# CONFIG_RUNTIME_TESTING_MENU is not set
5842+
# CONFIG_LEGACY_PTYS is not set

arch/loongarch/configs/loongson3_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,3 +1153,4 @@ CONFIG_SCHEDSTATS=y
11531153
# CONFIG_DEBUG_PREEMPT is not set
11541154
# CONFIG_FTRACE is not set
11551155
CONFIG_UNWINDER_ORC=y
1156+
# CONFIG_LEGACY_PTYS is not set

0 commit comments

Comments
 (0)