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

Diff for /src/usr.bin/getconf/getconf.c between version 1.20 and 1.21

version 1.20, 2018/10/26 17:11:32 version 1.21, 2021/07/12 15:09:19
Line 514 
Line 514 
   
         case PATHCONF:          case PATHCONF:
                 if (unveil(argv[1], "r") == -1)                  if (unveil(argv[1], "r") == -1)
                         err(1, "unveil");                          err(1, "unveil %s", argv[1]);
                 if (pledge("stdio rpath", NULL) == -1)                  if (pledge("stdio rpath", NULL) == -1)
                         err(1, "pledge");                          err(1, "pledge");
                 errno = 0;                  errno = 0;

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