-----BEGIN PGP SIGNED MESSAGE-----
I have the following problem: A program of mine is started with the
setuid-bit set, so that it runs under a different user id than the one
that started it. Unfortunately I now experience problems when I exec()
other programs, which seem to refuse working correctly unless ruid and
euid are identical.
So what I want to do is to make sure that -all- my process' user ids
are the same. The setruid() call seems to do this, but has been
deprecated. setuid() seems to do this also, but only succeeds when my
effective user id is "root", what it isn't.
So can someone give me a hint how I can archive this trick then?
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----