setreuid() and setregid() used by lib/util_sec.c.
