From a936d3e4fe0ff69d5cef124c166985f2a8eee328 Mon Sep 17 00:00:00 2001 From: millert <> Date: Fri, 16 Oct 2015 13:37:44 +0000 Subject: Implement real "flock" request and add it to userland programs that use pledge and file locking. OK deraadt@ --- src/usr.bin/openssl/openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index e842d6cc65..43f0e9189c 100644 --- a/src/usr.bin/openssl/openssl.c +++ b/src/usr.bin/openssl/openssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openssl.c,v 1.17 2015/10/10 22:28:51 doug Exp $ */ +/* $OpenBSD: openssl.c,v 1.18 2015/10/16 13:37:44 millert Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -438,7 +438,7 @@ main(int argc, char **argv) arg.data = NULL; arg.count = 0; - if (pledge("stdio inet rpath wpath cpath proc", NULL) == -1) { + if (pledge("stdio inet rpath wpath cpath proc flock", NULL) == -1) { fprintf(stderr, "openssl: pledge: %s\n", strerror(errno)); exit(1); } -- cgit v1.2.3-55-g6feb