[PATCH xserver] check for elevated privileges rather than just euid=0

Antoine Martin antoine at nagafix.co.uk
Thu Oct 6 06:05:22 PDT 2011

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:

Signed-off-by: antoine <antoine at nagafix.co.uk>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-xserver-check-for-elevated-privileges-rather-than-ju.patch
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111006/a5bb74c4/attachment.txt>

More information about the xorg-devel mailing list