All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] hidraw: compat_ioctl for hidraw
@ 2011-01-04  5:37 Alan Ott
  2011-01-04  5:37 ` [PATCH 1/1] hidraw: Added Compatibility ioctl() for 32-bit applications Alan Ott
  2011-01-04  5:37 ` Alan Ott
  0 siblings, 2 replies; 5+ messages in thread
From: Alan Ott @ 2011-01-04  5:37 UTC (permalink / raw)
  To: Jiri Kosina, Stefan Achatz, Antonio Ospite, Tejun Heo,
	Marcel Holtmann, linux-input, linux-kernel
  Cc: Alan Ott

hidraw did not have a compat_ioctl set, causing ioctls to fail from 32-bit apps on 64-bit systems. This patch seems to make ioctls work from 32-bit apps.

I made this look like the one in drivers/input/joydev.c. I'm not 100% sure that this is all that needs to be done, so it'd be nice if someone could review it.

Alan Ott (1):
  hidraw: Added Compatibility ioctl() for 32-bit applications.

 drivers/hid/hidraw.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-04 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04  5:37 [PATCH 0/1] hidraw: compat_ioctl for hidraw Alan Ott
2011-01-04  5:37 ` [PATCH 1/1] hidraw: Added Compatibility ioctl() for 32-bit applications Alan Ott
2011-01-04 10:18   ` Arnd Bergmann
2011-01-04 10:25     ` Jiri Kosina
2011-01-04  5:37 ` Alan Ott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.