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/compress/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/compress') diff --git a/usr.bin/compress/main.c b/usr.bin/compress/main.c index ca773c4af26..1793da7132d 100644 --- a/usr.bin/compress/main.c +++ b/usr.bin/compress/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.88 2015/10/04 16:50:29 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.89 2015/10/09 01:37:07 deraadt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -167,8 +167,8 @@ main(int argc, char *argv[]) char outfile[PATH_MAX], _infile[PATH_MAX], suffix[16]; int bits, ch, error, rc, cflag, oflag; - if (tame("stdio rpath wpath cpath fattr", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath wpath cpath fattr", NULL) == -1) + err(1, "pledge"); bits = cflag = oflag = 0; storename = -1; -- cgit v1.2.3