diff options
author | semarie <semarie@openbsd.org> | 2015-11-05 13:48:51 +0000 |
---|---|---|
committer | semarie <semarie@openbsd.org> | 2015-11-05 13:48:51 +0000 |
commit | 7c7165cb6d07e7659046a423548669e4c5e0bd91 (patch) | |
tree | 140017daf83f58c95a35c003e5ae2a831946a8dd /usr.sbin/pwd_mkdb | |
parent | tweak dependencies handling, might fix some infrequent bugs including the (diff) | |
download | wireguard-openbsd-7c7165cb6d07e7659046a423548669e4c5e0bd91.tar.xz wireguard-openbsd-7c7165cb6d07e7659046a423548669e4c5e0bd91.zip |
quick fix for a regression introduced by sys/kern/kern_pledge.c 1.103
ok benno phessler
Diffstat (limited to 'usr.sbin/pwd_mkdb')
-rw-r--r-- | usr.sbin/pwd_mkdb/pwd_mkdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.c b/usr.sbin/pwd_mkdb/pwd_mkdb.c index 20d1733dfe6..c1a2c76f831 100644 --- a/usr.sbin/pwd_mkdb/pwd_mkdb.c +++ b/usr.sbin/pwd_mkdb/pwd_mkdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pwd_mkdb.c,v 1.51 2015/10/16 22:54:35 deraadt Exp $ */ +/* $OpenBSD: pwd_mkdb.c,v 1.52 2015/11/05 13:48:51 semarie Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -233,8 +233,10 @@ main(int argc, char **argv) warn("%s: unable to make group readable", _PATH_SMP_DB); clean |= FILE_SECURE; +#if 0 if (pledge("stdio rpath wpath cpath getpw fattr flock", NULL) == -1) err(1, "pledge"); +#endif /* Open the temporary insecure password database. */ if (!secureonly) { |