[PATCH xserver] check for elevated privileges not uid=0 (V2)

Julien Cristau jcristau at debian.org
Thu Oct 13 14:28:21 PDT 2011


On Thu, Oct 13, 2011 at 23:25:07 +0200, Michal Suchanek wrote:

> 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:
> >
> >>  $ 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.
> 
> 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?
> 
No, when it's fixed it will have dropped privileges and run as you.

Cheers,
Julien


More information about the xorg-devel mailing list