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

Diff for /src/usr.bin/lock/lock.c between version 1.28 and 1.29

version 1.28, 2015/01/16 06:40:09 version 1.29, 2015/10/07 04:05:24
Line 90 
Line 90 
         usemine = 0;          usemine = 0;
         no_timeout = 0;          no_timeout = 0;
   
           if (tame("stdio getpw rpath wpath tty", NULL) == -1)
                   err(1, "tame");
   
         if (!(pw = getpwuid(getuid())))          if (!(pw = getpwuid(getuid())))
                 errx(1, "unknown uid %u.", getuid());                  errx(1, "unknown uid %u.", getuid());
   

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29