Return to kdump.c CVS log | Up to [local] / src / usr.bin / kdump |
version 1.138, 2019/05/15 15:36:59 | version 1.139, 2019/11/26 09:43:49 | ||
---|---|---|---|
|
|
||
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"); | ||