[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.143 and 1.144

version 1.143, 2020/04/05 08:32:14 version 1.144, 2021/07/12 15:09:19
Line 223 
Line 223 
   
         if (strcmp(tracefile, "-") != 0)          if (strcmp(tracefile, "-") != 0)
                 if (unveil(tracefile, "r") == -1)                  if (unveil(tracefile, "r") == -1)
                         err(1, "unveil");                          err(1, "unveil %s", tracefile);
         if (unveil(_PATH_PROTOCOLS, "r") == -1)          if (unveil(_PATH_PROTOCOLS, "r") == -1)
                 err(1, "unveil");                  err(1, "unveil %s", _PATH_PROTOCOLS);
         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.143  
changed lines
  Added in v.1.144