95
113
/* Swap effective and real user id's back to what they were. */
98
116
#else /* ! HAVE_SETREUID */
100
118
/* Set ourselves back to our original effective user id. */
121
ulog (LOG_ERROR, "setgid (%ld): %s", (long) iegid, strerror (errno));
101
128
if (setuid ((uid_t) ieuid) < 0)
103
130
ulog (LOG_ERROR, "setuid (%ld): %s", (long) ieuid, strerror (errno));