xserver-multidpi/hw
Antoine Martin ead968a430 xserver: check for elevated privileges not uid=0
This allows us to run the server as a normal user whilst still
being able to use the -modulepath, -logfile and -config switches
We define a xf86PrivsElevated which will do the checks and cache
the result in case it is called more than once.
Also renamed the paths #defines to match their new meaning.
Original discussion which led to this patch can be found here:
http://lists.freedesktop.org/archives/xorg-devel/2011-September/025853.html

Signed-off-by: Antoine Martin <antoine@nagafix.co.uk>
Tested-by: Michal Suchanek <hramrach at centrum.cz>
Reviewed-by: Jamey Sharp <jamey at minilop.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-12-16 15:38:13 -08:00
..
dmx dmx: fix distcheck failure, missing compsize.h in Makefile.am 2011-12-15 14:17:16 -08:00
kdrive Remove duplicate declarations of KdAdd*Driver in kdrive.h 2011-12-12 17:03:12 -08:00
vfb Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
xfree86 xserver: check for elevated privileges not uid=0 2011-12-16 15:38:13 -08:00
xnest Fix builds of Xnest & Xephyr with Solaris Studio compilers 2011-12-05 14:33:00 -08:00
xquartz Convert strncpy/strncat to strlcpy/strlcat 2011-11-23 12:15:05 -08:00
xwin Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00