[PATCH xserver] check for elevated privileges not uid=0 (V2)
hramrach at centrum.cz
Thu Oct 13 14:25:07 PDT 2011
On 13 October 2011 20:13, Julien Cristau <jcristau at debian.org> wrote:
> On Mon, Oct 10, 2011 at 16:40:25 +0200, Michal Suchanek wrote:
>> On 10 October 2011 16:07, Antoine Martin <antoine at nagafix.co.uk> wrote:
>> > This allows us to run the server as a normal user whilst still
>> > being able to use the -modulepath, -logfile and -config switches
>> Thanks for the patch.
>> Works for me on Debian with recent X server git.
>> Tested-by: Michal Suchanek <hramrach at centrum.cz>
>> $ X +extension GLX +extension RANDR +extension RENDER -logfile
>> /scratch/xdummy.log -config ~hramrach/xdummy.conf :1
>> xf86PrivsElevated: not tested yet.
>> xf86PrivsElevated: elevated: uid 1000, euid 1000, gid 1000, egid 0.
> That egid 0 looks like a bug in our (Debian's) wrapper. I should fix
Meaning that when it is fixed it will appear that the X server is
running as root and all the non-safe options will be allowed?
More information about the xorg-devel