Article View: comp.unix
Article #244sun/unix/c problem
From: Clay Johnson
Date: Wed, 10 Oct 1990 04:05
Date: Wed, 10 Oct 1990 04:05
9 lines
763 bytes
763 bytes
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.
Technical Details
Message-ID:
<2177@megadon.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!vsi1!altos!megadon!clpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!vsi1!altos!megadon!clp From: clay@titan.tsd.arlut.utexas.edu (Clay Johnson) Newsgroups: comp.unix Subject: sun/unix/c problem Message-ID: <2177@megadon.UUCP> Date: 10 Oct 90 04:05:54 GMT Sender: clp@megadon.UUCP Organization: Applied Research Laboratories, UT Austin. Lines: 9 Approved: clp@megadon.UUCP Posted-Date: 5 Oct 90 19:59:01 GMT