[LightDM] Problem with LightDM on Solaris build

Raimund Steger rs at mytum.de
Tue Nov 29 12:15:40 PST 2011


On 2011-11-29 19:47, Brian Cameron wrote:
 > [...]
> later also sets the "saved user/group" value. If setreuid/setregid
> is sufficient, a solution might also be to use these.

I think setreuid()/setregid() used to be a way to achieve what 
seteuid()/setegid() can do, in that instead of using the saved ID to 
restore the privileges (_POSIX_SAVED_IDS feature) one could use a 
special syntax to swap real/effective IDs.

Meaning, setreuid()/setregid() is a legacy interface. I think. :-)


Worringer St 31, Duesseldorf 40211 Germany, +49-179-2981632, icq 16845346

More information about the LightDM mailing list