From 7a01108f60e58c5683c269bbbb884090b5a0620f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 9 Oct 2015 01:37:11 +0000 Subject: Change all tame callers to namechange to pledge(2). --- usr.bin/dirname/dirname.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/dirname') diff --git a/usr.bin/dirname/dirname.c b/usr.bin/dirname/dirname.c index 1d4d8c547a0..7e0328e6f86 100644 --- a/usr.bin/dirname/dirname.c +++ b/usr.bin/dirname/dirname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dirname.c,v 1.14 2015/10/05 13:30:30 deraadt Exp $ */ +/* $OpenBSD: dirname.c,v 1.15 2015/10/09 01:37:07 deraadt Exp $ */ /* * Copyright (c) 1997 Todd C. Miller @@ -33,8 +33,8 @@ main(int argc, char *argv[]) setlocale(LC_ALL, ""); - if (tame("stdio", NULL) == -1) - err(1, "tame"); + if (pledge("stdio", NULL) == -1) + err(1, "pledge"); while ((ch = getopt(argc, argv, "")) != -1) { switch (ch) { -- cgit v1.2.3