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

Diff for /src/usr.bin/kdump/kdump.c between version 1.138 and 1.139

version 1.138, 2019/05/15 15:36:59 version 1.139, 2019/11/26 09:43:49
Line 211 
Line 211 
         if (strcmp(tracefile, "-") != 0)          if (strcmp(tracefile, "-") != 0)
                 if (unveil(tracefile, "r") == -1)                  if (unveil(tracefile, "r") == -1)
                         err(1, "unveil");                          err(1, "unveil");
           if (unveil("/etc/protocols", "r") == -1)
                   err(1, "unveil");
         if (pledge("stdio rpath getpw", NULL) == -1)          if (pledge("stdio rpath getpw", NULL) == -1)
                 err(1, "pledge");                  err(1, "pledge");
   

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.139