[PATCH xserver] check for elevated privileges not uid=0 (V2)
Julien Cristau
jcristau at debian.org
Thu Oct 13 11:13:52 PDT 2011
On Mon, Oct 10, 2011 at 16:40:25 +0200, Michal Suchanek wrote:
> Hello,
>
> 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
that.
Cheers,
Julien
More information about the xorg-devel
mailing list