From b34c894de28ef45fcf0a5357a35816004e09d80d Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 9 Oct 2015 01:37:08 +0000 Subject: Change all tame callers to namechange to pledge(2). --- src/usr.bin/openssl/openssl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index 21a5aa6018..8ac645636a 100644 --- a/src/usr.bin/openssl/openssl.c +++ b/src/usr.bin/openssl/openssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openssl.c,v 1.14 2015/10/07 05:21:41 deraadt Exp $ */ +/* $OpenBSD: openssl.c,v 1.15 2015/10/09 01:37:08 deraadt Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -436,8 +436,8 @@ main(int argc, char **argv) arg.data = NULL; arg.count = 0; - if (tame("stdio inet rpath cpath wpath proc", NULL) == -1) { - fprintf(stderr, "openssl: tame: %s\n", strerror(errno)); + if (pledge("stdio inet rpath cpath wpath proc", NULL) == -1) { + fprintf(stderr, "openssl: pledge: %s\n", strerror(errno)); exit(1); } -- cgit v1.2.3-55-g6feb