xserver/hw/xfree86
Peter Hutterer 15460eaed2 systemd-logind: let the logind code decided whether to close an fd
We can only request one fd per device from systemd-logind. If a fd is re-used
by the same device, releasing the fd from one device doesn't mean we can close
it. The systemd code knows when it's really released, so let it close the fd.

Test case: xorg.conf section for an input device with hotplugging enabled.
evdev detects the duplicate and closes the hotplugged device, which closes the
fd. The other instance of evdev thinks the fd is still valid so now you're
playing a double lottery. First, which client(s) will get the evdev fd?
Second, which requests will be picked up by evdev and which ones will be
picked up by the client? You'll never know, but the fun is in finding out.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-05-05 07:26:33 +10:00
..
common systemd-logind: let the logind code decided whether to close an fd 2014-05-05 07:26:33 +10:00
ddc Merge remote-tracking branch 'dlespiau/20131216-4k' 2014-01-22 11:32:35 -08:00
dixmods Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
doc miinitext: introduce LoadExtensionList() to replace over LoadExtension() 2014-03-25 16:00:17 -07:00
dri dri1: Don't bother asking the loader about drmGetLibVersion 2014-04-18 11:11:19 -07:00
dri2 DRI2SwapBuffers: Fix uninitialized target SBC. 2014-04-21 11:24:32 -07:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw xfree86/fbdevhw: Fix warnings 2014-01-12 10:14:50 -08:00
glamor_egl glamor: Add support for DRI3. 2014-03-05 13:10:24 -08:00
i2c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
int10 Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
loader Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
man xfree86: add short description about MatchSeat key in xorg.conf man page 2014-05-01 08:19:19 +10:00
modes hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
os-support systemd-logind: let the logind code decided whether to close an fd 2014-05-05 07:26:33 +10:00
parser xfree86: add new key MatchSeat to xorg.conf sections "Device", "Screen", and "ServerLayout" 2014-05-01 08:19:19 +10:00
ramdac hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
shadowfb shadowfb: Fix compilation errors 2014-04-21 21:39:43 -07:00
utils Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vbe Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vgahw Link libvgahw with $(PCIACCESS_LIBS) as well 2014-01-29 15:21:55 -08:00
x86emu xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am Merge remote-tracking branch 'whot/for-keith' 2014-04-03 10:44:28 -07:00
Xorg.sh.in Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
sdksyms.sh xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xorg-wrapper.c Xorg.wrap: Make the console check portable 2014-04-18 11:40:09 +02:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00