[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.21 and 1.22

version 1.21, 2002/05/28 17:28:02 version 1.22, 2002/05/28 21:24:00
Line 109 
Line 109 
 permanently_set_uid(struct passwd *pw)  permanently_set_uid(struct passwd *pw)
 {  {
         if (temporarily_use_uid_effective)          if (temporarily_use_uid_effective)
                 fatal("restore_uid: temporarily_use_uid effective");                  fatal("permanently_set_uid: temporarily_use_uid effective");
         if (setgid(pw->pw_gid) < 0)          if (setgid(pw->pw_gid) < 0)
                 fatal("setgid %u: %.100s", (u_int)pw->pw_gid, strerror(errno));                  fatal("setgid %u: %.100s", (u_int)pw->pw_gid, strerror(errno));
         if (setuid(pw->pw_uid) < 0)          if (setuid(pw->pw_uid) < 0)

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22