summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-12-01 00:00:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-12-01 00:00:20 +0000
commit5d81ab6d9e218758f8b64324737c9a0042466c44 (patch)
tree5ec20c8a54f163b11c87db3a6f62d93f2cdf8ee6
parent255a9aa8e55fa7c23d4150f0aa94d09d43c413c1 (diff)
We no longer need pledge "wpath" since "tty" allows read-write on
/dev/tty.
-rw-r--r--usr.bin/skey/skey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/skey/skey.c b/usr.bin/skey/skey.c
index 2c6cd61f722..f72beee4d0c 100644
--- a/usr.bin/skey/skey.c
+++ b/usr.bin/skey/skey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skey.c,v 1.32 2015/10/12 14:33:13 tim Exp $ */
+/* $OpenBSD: skey.c,v 1.33 2015/12/01 00:00:19 millert Exp $ */
/*
* OpenBSD S/Key (skey.c)
*
@@ -43,7 +43,7 @@ main(int argc, char *argv[])
char buf[33], *seed, *slash, *algo;
const char *errstr;
- if (pledge("stdio wpath tty", NULL) == -1)
+ if (pledge("stdio tty", NULL) == -1)
err(1, "pledge");
/* If we were called as otp-METHOD, set algorithm based on that */