xserver-multidpi/hw/xfree86/dri2
Christopher James Halse Rogers a7b97b0fa8 dri2: Fix authentication for < v8 clients (v2).
The legacy logic was embarassingly wrong; AuthMagic should return errno,
so returning FALSE only when AuthMagic returns nonzero is exactly wrong.

v2: Match drmAuthMagic by returning -EINVAL rather than EINVAL
    Fix trailing whitespace

https://bugs.freedesktop.org/show_bug.cgi?id=51400
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Tested-by: Knut Petersen <knut_petersen@t-online.de>
Signed-off-by: Keith Packard <keithp@keithp.com>
2012-06-28 10:40:34 -07:00
..
dri2.c dri2: Fix authentication for < v8 clients (v2). 2012-06-28 10:40:34 -07:00
dri2.h dri2: Pass a ScreenPtr through to the driver's AuthMagic function. (v3) 2012-06-20 11:56:55 -07:00
dri2ext.c dri2: Add DRI2GetParam request (v2) 2012-05-31 12:14:17 -07:00
Makefile.am xfree86: allow modules to be built without undefined symbols 2012-04-05 21:57:02 -05:00