[comp.unix] sun/unix/c problem

clay@titan.tsd.arlut.utexas.edu (Clay Johnson) (10/10/90)

Once a program that executes in set-user ID mode has changed its
effective uid to the real uid, how can it change it back?  

setreuid(2) (sun 4.0 documentation) says that this can be done by
restoring the saved set-user ID from execve(2), but execve(2) does not
explain how to do it.

Thank you.