Commit 2db69a9340da12a4db44edb7506dd68799aeff55
Committed by
Linus Torvalds
1 parent
a1a5c3b923
Exists in
master
and in
4 other branches
vt: Declare PIO_CMAP/GIO_CMAP as compatbile ioctls.
Otherwise, these don't work when called from 32-bit userspace on 64-bit kernels. Cc: Jiri Kosina <jkosina@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: <stable@kernel.org> [2.6.25.x, 2.6.26.x, 2.6.27.x, 2.6.28.x] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
fs/compat_ioctl.c
... | ... | @@ -1938,6 +1938,8 @@ |
1938 | 1938 | /* Big K */ |
1939 | 1939 | COMPATIBLE_IOCTL(PIO_FONT) |
1940 | 1940 | COMPATIBLE_IOCTL(GIO_FONT) |
1941 | +COMPATIBLE_IOCTL(PIO_CMAP) | |
1942 | +COMPATIBLE_IOCTL(GIO_CMAP) | |
1941 | 1943 | ULONG_IOCTL(KDSIGACCEPT) |
1942 | 1944 | COMPATIBLE_IOCTL(KDGETKEYCODE) |
1943 | 1945 | COMPATIBLE_IOCTL(KDSETKEYCODE) |