On Mar 27, 2012, at 12:08 AM, Michel Dänzer <mic...@daenzer.net> wrote:

> On Mon, 2012-03-26 at 22:06 -0700, Alan Coopersmith wrote: 
>> On 03/26/12 09:07 PM, Jamey Sharp wrote:
>>> Maybe I have it right this time: On Debian, there's no problem,
>>> because /usr/bin/X is a trivial suid wrapper and /usr/bin/Xorg is not
>>> installed suid. Solaris and other Unixes could take the same approach,
>>> right?
>> 
>> While I've heard about this before, I've not seen the sources for this 
>> wrapper
>> (can someone provide a pointer?  all I'm finding in google is man pages & bug
>> reports that reference it)
> 
> http://anonscm.debian.org/gitweb/?p=pkg-xorg/debian/xorg.git;a=history;f=debian/local/xserver-wrapper.c

As a warning, this is GPL-2:

  88  * This is free software; you may redistribute it and/or modify
  89  * it under the terms of the GNU General Public License as
  90  * published by the Free Software Foundation; either version 2,
  91  * or (at your option) any later version.

I stopped reading after that point, given that we are likely to do something 
similar, I didn't want to contaminate myself with potential GPL influence.  
Anyone who might actually write the code for our version of this wrapper should 
probably avoid reading the source.

--Jeremy



_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to