...
> Unfortunately, the snippit of code here doesn't do the job... after the
> first two lines, the UID is unchanged, while the EUID is still 0 (root). I
> used system "/usr/bin/id" to verify this. /bin/mount is still complaining.
>
> Oh, wait... $> is effective and $< is real. So that first line should be
> ($r, $e) =3D ($<, $>); -- this makes everything happy!
drat... I thought I had that right...
Also the last line should be swapped too:
($r, $e) = ($<, $>);
$< =3D $e;
<<<do stuff>>>
($<, $>) = ($r,$e);
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil
Any opinions expressed are solely my own.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:16 EST