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/stat/stat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/stat/stat.c') diff --git a/usr.bin/stat/stat.c b/usr.bin/stat/stat.c index 3a3116f4cbe..ee607f47532 100644 --- a/usr.bin/stat/stat.c +++ b/usr.bin/stat/stat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stat.c,v 1.19 2015/10/06 00:24:20 deraadt Exp $ */ +/* $OpenBSD: stat.c,v 1.20 2015/10/09 01:37:08 deraadt Exp $ */ /* $NetBSD: stat.c,v 1.19 2004/06/20 22:20:16 jmc Exp $ */ /* @@ -158,8 +158,8 @@ main(int argc, char *argv[]) int lsF, fmtchar, usestat, fn, nonl, quiet; char *statfmt, *options, *synopsis; - if (tame("stdio getpw rpath", NULL) == -1) - err(1, "tame"); + if (pledge("stdio getpw rpath", NULL) == -1) + err(1, "pledge"); lsF = 0; fmtchar = '\0'; -- cgit v1.2.3