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

Diff for /src/usr.bin/write/write.c between version 1.30 and 1.31

version 1.30, 2015/10/06 03:25:02 version 1.31, 2015/10/09 01:37:09
Line 250 
Line 250 
          * Unfortunately this is rather late - well after utmp           * Unfortunately this is rather late - well after utmp
          * parsing, then pinned by the tty open and setresgid           * parsing, then pinned by the tty open and setresgid
          */           */
         if (tame("stdio", NULL) == -1)          if (pledge("stdio", NULL) == -1)
                 err(1, "tame");                  err(1, "pledge");
   
         (void)signal(SIGINT, done);          (void)signal(SIGINT, done);
         (void)signal(SIGHUP, done);          (void)signal(SIGHUP, done);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31