[X2Go-Dev] setuid/setgid in libXcomp
Orion Poplawski
orion at cora.nwra.com
Thu Jul 11 20:45:02 CEST 2013
Can anyone explain to my why libXcomp calls setgid/setuid in Pipe.cpp:Popen()
after calling fork()? It also isn't checking the results of the call, but I'm
really not sure why the calls are there in the first place.
switch (pid = Fork())
{
...
case 0:
{
//
// Child.
//
setgid(getgid());
setuid(getuid());
Nothing is running as a setuid/setgid process is it?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
More information about the x2go-dev
mailing list