diff options
author | deraadt <> | 2015-10-09 01:37:08 +0000 |
---|---|---|
committer | deraadt <> | 2015-10-09 01:37:08 +0000 |
commit | b34c894de28ef45fcf0a5357a35816004e09d80d (patch) | |
tree | 96421b2d81d18f82c3b8aca514906f107004bf98 /src | |
parent | 92b71dd957251375dfc9dbd99f6bf56b6d38859f (diff) | |
download | openbsd-b34c894de28ef45fcf0a5357a35816004e09d80d.tar.gz openbsd-b34c894de28ef45fcf0a5357a35816004e09d80d.tar.bz2 openbsd-b34c894de28ef45fcf0a5357a35816004e09d80d.zip |
Change all tame callers to namechange to pledge(2).
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.bin/openssl/openssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
1 | /* $OpenBSD: openssl.c,v 1.14 2015/10/07 05:21:41 deraadt Exp $ */ | 1 | /* $OpenBSD: openssl.c,v 1.15 2015/10/09 01:37:08 deraadt Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -436,8 +436,8 @@ main(int argc, char **argv) | |||
436 | arg.data = NULL; | 436 | arg.data = NULL; |
437 | arg.count = 0; | 437 | arg.count = 0; |
438 | 438 | ||
439 | if (tame("stdio inet rpath cpath wpath proc", NULL) == -1) { | 439 | if (pledge("stdio inet rpath cpath wpath proc", NULL) == -1) { |
440 | fprintf(stderr, "openssl: tame: %s\n", strerror(errno)); | 440 | fprintf(stderr, "openssl: pledge: %s\n", strerror(errno)); |
441 | exit(1); | 441 | exit(1); |
442 | } | 442 | } |
443 | 443 | ||