aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderaadt <deraadt>2015-10-09 01:37:06 +0000
committerderaadt <deraadt>2015-10-09 01:37:06 +0000
commitd990eb6608a8536cf5cdd704ee89090f3143fb49 (patch)
tree3d3a3c073ba6a2363c892ceb6b30e038bbf78561
parentaec7828b6ecdd2ba975af62bbfa6e39628e52d72 (diff)
downloadcat-d990eb6608a8536cf5cdd704ee89090f3143fb49.tar
cat-d990eb6608a8536cf5cdd704ee89090f3143fb49.tar.gz
Change all tame callers to namechange to pledge(2).
-rw-r--r--cat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cat.c b/cat.c
index 7323257..68358de 100644
--- a/cat.c
+++ b/cat.c
@@ -66,8 +66,8 @@ main(int argc, char *argv[])
setlocale(LC_ALL, "");
- if (tame("stdio rpath", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
while ((ch = getopt(argc, argv, "benstuv")) != -1)
switch (ch) {