Subject: Re: setreuid() and setregid()
To: Greg A. Woods <>
From: Greg Hudson <ghudson@MIT.EDU>
List: tech-kern
Date: 05/25/1996 15:46:51
> That depends on which "UNIX" model you're thinking of.  Only 4.2BSD
> and newer BSDs allow a setuid-root process to temporarily become
> another and euid and then return to euid==0.

Not so.  Solaris 2.4, AIX 3.2.5, and IRIX 5.2 have seteuid(), HPUX
9.05 has setresuid(), and most of those systems also have setreuid()
for compatibility with BSD 4.3.