Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: Add KD[GS]KBDIACRUC ioctls to the compatible list

Allow handling of Unicode compose sequences by 32-bit apps on a 64-bit
system. The issue has been reported in <http://bugs.debian.org/540534>
and <http://lists.altlinux.org/pipermail/kbd/2009-December/000235.html>.

A formal check of the two affected ioctls in drivers/char/vt_ioctl.c
(introduced in 04c71976) and a test using x86 kbd 1.15.1 on a so patched
x86_64 kernel both confirm that KD[GS]KBDIACRUC are ioctl32()
compatible.

Signed-off-by: Michael Schutte <michi@uiae.at>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Michael Schutte and committed by
Dmitry Torokhov
caaa357d 9e14f36b

+2
+2
fs/compat_ioctl.c
··· 897 897 COMPATIBLE_IOCTL(KDSKBSENT) 898 898 COMPATIBLE_IOCTL(KDGKBDIACR) 899 899 COMPATIBLE_IOCTL(KDSKBDIACR) 900 + COMPATIBLE_IOCTL(KDGKBDIACRUC) 901 + COMPATIBLE_IOCTL(KDSKBDIACRUC) 900 902 COMPATIBLE_IOCTL(KDKBDREP) 901 903 COMPATIBLE_IOCTL(KDGKBLED) 902 904 COMPATIBLE_IOCTL(KDGETLED)