doing setreuid with setuid in modern sysv
wrwalke
wrwalke at mcl
Mon Jan 15 08:52:29 AEST 1990
In article <90Jan14.130354est.2125 at neat.cs.toronto.edu>, rayan at cs.toronto.edu (Rayan Zachariassen) writes:
> ISC 386/ix (SVR3.2) and IRIX3.2 (SVR3.1)) that setuid() behaves the same
> way as on BSD systems and resets both real and effective uid (good) but
> that there is no saved uid used for permissions checking later on.
>
on some BSD (maybe a bug/feature of the port) systems, the real and
effective uids don't both change. on the CCI supplied port of 4.2 for the
VAX only euid would change, allowing resumption later on. on the port for
the Power6, both would change and there was no way to find out what the
original uid was.
just my $.02
bill.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Bill Walker -- PRC Realty (Reality) Systems -- McLean VA
uunet!prcrs!wrwalke uunet!prcrs!mcl!wrwalke (wrwalke at prc.com -soon to be)
Author, editor, and publisher of my own opinions, all rights reserved.
More information about the Comp.unix.questions
mailing list