[BACK]Return to uidswap.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/uidswap.c between version 1.9 and 1.10

version 1.9, 2000/09/07 20:27:55 version 1.10, 2000/12/17 09:33:40
Line 49 
Line 49 
         /* Set the effective uid to the given (unprivileged) uid. */          /* Set the effective uid to the given (unprivileged) uid. */
         if (seteuid(uid) == -1)          if (seteuid(uid) == -1)
                 debug("seteuid %u: %.100s", (u_int) uid, strerror(errno));                  debug("seteuid %u: %.100s", (u_int) uid, strerror(errno));
 #else /* SAVED_IDS_WORK_WITH_SETUID */  #else /* SAVED_IDS_WORK_WITH_SETEUID */
         /* Propagate the privileged uid to all of our uids. */          /* Propagate the privileged uid to all of our uids. */
         if (setuid(geteuid()) < 0)          if (setuid(geteuid()) < 0)
                 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno));                  debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno));

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10