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

Diff for /src/usr.bin/who/who.c between version 1.21 and 1.22

version 1.21, 2015/10/07 16:11:40 version 1.22, 2015/10/07 17:27:35
Line 74 
Line 74 
   
         setlocale(LC_ALL, "");          setlocale(LC_ALL, "");
   
         if (tame("stdio getpw rpath ioctl", NULL) == -1)          if (tame("stdio getpw rpath tty", NULL) == -1)
                 err(1, "tame");                  err(1, "tame");
   
         mytty = ttyname(0);          mytty = ttyname(0);

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