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

Diff for /src/usr.bin/sudo/Attic/check.c between version 1.20 and 1.21

version 1.20, 2010/03/04 12:21:36 version 1.21, 2011/01/12 21:45:02
Line 93 
Line 93 
         /* do not check or update timestamp */          /* do not check or update timestamp */
         status = TS_ERROR;          status = TS_ERROR;
     } else {      } else {
         if (user_uid == 0 || user_uid == runas_pw->pw_uid || user_is_exempt())          /*
            * Don't prompt for the root passwd or if the user is exempt.
            * If the user is not changing uid/gid, no need for a password.
            */
           if (user_uid == 0 || (user_uid == runas_pw->pw_uid &&
               (!runas_gr || user_gid == runas_gr->gr_gid)) || user_is_exempt())
             return;              return;
   
         build_timestamp(&timestampdir, &timestampfile);          build_timestamp(&timestampdir, &timestampfile);

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