=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/uidswap.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/ssh/uidswap.c 1999/11/24 00:26:04 1.4 +++ src/usr.bin/ssh/uidswap.c 1999/11/24 19:53:54 1.5 @@ -7,7 +7,7 @@ */ #include "includes.h" -RCSID("$Id: uidswap.c,v 1.4 1999/11/24 00:26:04 deraadt Exp $"); +RCSID("$Id: uidswap.c,v 1.5 1999/11/24 19:53:54 markus Exp $"); #include "ssh.h" #include "uidswap.h" @@ -66,10 +66,11 @@ if (seteuid(saved_euid) < 0) debug("seteuid %d: %.100s", (int) saved_euid, strerror(errno)); #else /* SAVED_IDS_WORK_WITH_SETEUID */ - /* We are unable to restore the real uid to its unprivileged - value. */ - /* Propagate the real uid (usually more privileged) to effective - uid as well. */ + /* + * We are unable to restore the real uid to its unprivileged value. + * Propagate the real uid (usually more privileged) to effective uid + * as well. + */ setuid(getuid()); #endif /* SAVED_IDS_WORK_WITH_SETEUID */ }