diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-10-16 13:37:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-10-16 13:37:45 +0000 |
commit | 7d5bc0b4eff009809546d4ef502ce93f83d2300c (patch) | |
tree | 915823249236a820f51cb63ee5be2eba08a7c658 /usr.bin/openssl | |
parent | 0f5a35a5bb1e5927d12e3adf52222f42e7c37280 (diff) |
Implement real "flock" request and add it to userland programs that
use pledge and file locking. OK deraadt@
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r-- | usr.bin/openssl/openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/openssl.c b/usr.bin/openssl/openssl.c index e842d6cc65d..43f0e9189c3 100644 --- a/usr.bin/openssl/openssl.c +++ b/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); } |