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). --- bin/ls/ls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ls') diff --git a/bin/ls/ls.c b/bin/ls/ls.c index 112edce9c6f..da93dd91e10 100644 --- a/bin/ls/ls.c +++ b/bin/ls/ls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ls.c,v 1.42 2015/10/04 16:00:43 deraadt Exp $ */ +/* $OpenBSD: ls.c,v 1.43 2015/10/09 01:37:06 deraadt Exp $ */ /* $NetBSD: ls.c,v 1.18 1996/07/09 09:16:29 mycroft Exp $ */ /* @@ -123,8 +123,8 @@ ls_main(int argc, char *argv[]) termwidth = width; } - if (tame("stdio rpath getpw", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath getpw", NULL) == -1) + err(1, "pledge"); /* Root is -A automatically. */ if (!getuid()) -- cgit v1.2.3