]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vt: keyboard: Don't process Unicode characters in K_OFF mode
authorMyrrh Periwinkle <myrrhperiwinkle@qtmlabs.xyz>
Wed, 2 Jul 2025 14:17:57 +0000 (21:17 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:24:27 +0000 (16:24 +0200)
commit6b03d59b1e0e4e174ef12dfcb0d4bc29d1bc9324
treecb3d4fb06f98a5400b98501e80f689632351c50d
parent228c686e20ff95aec8c74ea590eddd334fa43436
vt: keyboard: Don't process Unicode characters in K_OFF mode

commit b1cc2092ea7a52e2c435aee6d2b1bcb773202663 upstream.

We don't process Unicode characters if the virtual terminal is in raw
mode, so there's no reason why we shouldn't do the same for K_OFF
(especially since people would expect K_OFF to actually turn off all VT
key processing).

Fixes: 9fc3de9c8356 ("vt: Add virtual console keyboard mode OFF")
Signed-off-by: Myrrh Periwinkle <myrrhperiwinkle@qtmlabs.xyz>
Cc: stable <stable@kernel.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250702-vt-misc-unicode-fixes-v1-1-c27e143cc2eb@qtmlabs.xyz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c