Skip to content
Commit 7365abba authored by Andy Lutomirski's avatar Andy Lutomirski Committed by Linus Torvalds
Browse files

drivers/hid/uhid.c: check write() bitness using in_compat_syscall



uhid changes the format expected in write() depending on bitness.  It
should check the syscall bitness directly.

Signed-off-by: default avatarAndy Lutomirski <luto@kernel.org>
Cc: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f4056b52
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment