- (bal) [uidswap.c] SCO compile correction by gert@greenie.muc.de

This commit is contained in:
Ben Lindstrom 2002-07-30 19:32:07 +00:00
parent 4bdb547ff4
commit 18d2b5d399
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
20020730
- (bal) [uidswap.c] SCO compile correction by gert@greenie.muc.de
20020728
- (stevesk) [auth-pam.c] should use PAM_MSG_MEMBER(); from solar
- (stevesk) [CREDITS] solar
@ -1462,4 +1465,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2408 2002/07/28 20:42:23 stevesk Exp $
$Id: ChangeLog,v 1.2409 2002/07/30 19:32:07 mouring Exp $

View File

@ -114,8 +114,8 @@ restore_uid(void)
if (!temporarily_use_uid_effective)
fatal("restore_uid: temporarily_use_uid not effective");
debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid);
#ifdef SAVED_IDS_WORK_WITH_SETEUID
debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid);
/* Set the effective uid back to the saved privileged uid. */
if (seteuid(saved_euid) < 0)
fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno));