]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Input: Add KD[GS]KBDIACRUC ioctls to the compatible list
authorMichael Schutte <michi@uiae.at>
Wed, 5 Sep 2012 05:54:16 +0000 (22:54 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 5 Sep 2012 06:21:46 +0000 (23:21 -0700)
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>
fs/compat_ioctl.c

index debdfe0fc809edfd01ac4a72a0eaf2753efc993d..edd4ab67cd1b722e5f0dd7439d3a396bee9b91e9 100644 (file)
@@ -897,6 +897,8 @@ COMPATIBLE_IOCTL(KDGKBSENT)
 COMPATIBLE_IOCTL(KDSKBSENT)
 COMPATIBLE_IOCTL(KDGKBDIACR)
 COMPATIBLE_IOCTL(KDSKBDIACR)
+COMPATIBLE_IOCTL(KDGKBDIACRUC)
+COMPATIBLE_IOCTL(KDSKBDIACRUC)
 COMPATIBLE_IOCTL(KDKBDREP)
 COMPATIBLE_IOCTL(KDGKBLED)
 COMPATIBLE_IOCTL(KDGETLED)