[PATCH xserver] check for elevated privileges not uid=0
Antoine Martin
antoine at nagafix.co.uk
Mon Oct 10 12:04:28 PDT 2011
And another blooper, sorry for the spam. Correct patch attached.
Need sleep, will pick this up tomorrow.
Antoine
On 10/11/2011 02:00 AM, Antoine Martin wrote:
> 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 at nagafix.co.uk>
>
>
> Changes from the previous version of this patch:
> * static var location (again!), formatting, typos, error message, exit()
> (thx to Tormod Volden)
> * use more generic AC_CHECK_FUNCS macro (thx to Alan Coopersmith)
>
> Thanks
> Antoine
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-check-for-elevated-privileges-not-uid-0.patch
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111011/5f57df99/attachment.txt>
More information about the xorg-devel
mailing list