diff options
author | 2015-10-09 01:37:06 +0000 | |
---|---|---|
committer | 2015-10-09 01:37:06 +0000 | |
commit | 0bd1216cbfac4316d823b5f086842b66ddea2018 (patch) | |
tree | fd4a00b7f31d65ad01880d2fd2d63c87485cacec /usr.bin/grep/grep.c | |
parent | tame -> pledge. (diff) | |
download | wireguard-openbsd-0bd1216cbfac4316d823b5f086842b66ddea2018.tar.xz wireguard-openbsd-0bd1216cbfac4316d823b5f086842b66ddea2018.zip |
Change all tame callers to namechange to pledge(2).
Diffstat (limited to 'usr.bin/grep/grep.c')
-rw-r--r-- | usr.bin/grep/grep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c index d3536387a9d..f790e1d5d7e 100644 --- a/usr.bin/grep/grep.c +++ b/usr.bin/grep/grep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.53 2015/10/03 05:36:34 deraadt Exp $ */ +/* $OpenBSD: grep.c,v 1.54 2015/10/09 01:37:07 deraadt Exp $ */ /*- * Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav @@ -238,8 +238,8 @@ main(int argc, char *argv[]) char **expr; const char *errstr; - if (tame("stdio rpath", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath", NULL) == -1) + err(1, "pledge"); SLIST_INIT(&patfilelh); switch (__progname[0]) { |