+7
−3
+0
−10
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IACT4T CVE: CVE-2024-40966 -------------------------------- After backport mainline commit 6bd23e0c2bb6 ("tty: add the option to have a tty reject a new ldisc") Introduced kabi breakage. Fix kabi breakage by check whether it is vt device in tty_set_ldisc(), and check ldisc whether it is N_TTY. Fixes: 6bd23e0c2bb6 ("tty: add the option to have a tty reject a new ldisc") Signed-off-by:Yi Yang <yiyang13@huawei.com>