summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-11-29 03:09:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-11-29 03:09:32 +0000
commite2f20d9458e2ad9ecafd271c22689e017ea952c0 (patch)
treefcf0be63b93af07e267e3f7038c2e0f5d6f7e99b /usr.bin
parentf6e1a286e9259b350d3b862b708f833e80bb2160 (diff)
skeyinit needs pledge proc and exec to use BSD auth.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/skeyinit/skeyinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/skeyinit/skeyinit.c b/usr.bin/skeyinit/skeyinit.c
index ddaf938faa1..4cbe955b3d2 100644
--- a/usr.bin/skeyinit/skeyinit.c
+++ b/usr.bin/skeyinit/skeyinit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeyinit.c,v 1.64 2015/11/29 03:08:43 millert Exp $ */
+/* $OpenBSD: skeyinit.c,v 1.65 2015/11/29 03:09:31 millert Exp $ */
/* OpenBSD S/Key (skeyinit.c)
*
@@ -55,7 +55,7 @@ main(int argc, char **argv)
struct skey skey;
struct passwd *pp;
- if (pledge("stdio rpath wpath cpath fattr flock tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath fattr flock tty proc exec", NULL) == -1)
err(1, "pledge");
n = rmkey = hexmode = enable = 0;