xserver-multidpi/hw/xfree86/os-support/shared
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
..
agp_noop.c xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
bios_mmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
ioperm_noop.c xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
kmod_noop.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
platform_noop.c xfree86: use udev to provide device enumeration for kms devices (v10) 2012-07-06 10:20:19 +01:00
pm_noop.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
posix_tty.c xf86: fix flush input to work with Linux evdev devices. 2013-04-17 14:56:00 +10:00
sigio.c Merge branch 'sigio-vt-switch-issues' into for-keith 2012-07-04 21:23:48 +10:00
sigiostubs.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
vidmem.c XFree86: os-support: Remove unused xf86MakeNewMapping 2012-07-10 00:42:10 -07:00
VTsw_noop.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
VTsw_usl.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Axp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Axp.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00