xserver/hw/xfree86/os-support
Dave Airlie 6ca03b9161 xf86: fix flush input to work with Linux evdev devices.
So when we VT switch back and attempt to flush the input devices,
we don't succeed because evdev won't return part of an event,
since we were only asking for 4 bytes, we'd only get -EINVAL back.

This could later cause events to be flushed that we shouldn't have
gotten.

This is a fix for CVE-2013-1940.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-04-17 14:56:00 +10:00
..
bsd Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
bus xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
hurd Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
linux xfree86: Be verbose if waiting on opening the drm device 2013-04-08 09:13:18 -07:00
misc Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
shared xf86: fix flush input to work with Linux evdev devices. 2013-04-17 14:56:00 +10:00
solaris Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
stub xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 2011-10-15 21:18:47 -07:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86OSpriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86_OSlib.h os-support: add Cygwin support 2012-04-05 21:57:03 -05:00
xf86_OSproc.h XFree86: os-support: Remove unused xf86MakeNewMapping 2012-07-10 00:42:10 -07:00