diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-11-20 20:57:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-11-20 20:57:49 +0000 |
commit | 7d613d812c797ff63ec146474caadf962c284355 (patch) | |
tree | 48efe416af82b5a61c1d6ab7a389c961c433bbb3 | |
parent | 863cf62c2ebf342dc860850a184e7703349bd4f3 (diff) |
pledge "stdio rpath wpath cpath fattr flock tty"
ok millert
-rw-r--r-- | usr.bin/skeyinit/skeyinit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/skeyinit/skeyinit.c b/usr.bin/skeyinit/skeyinit.c index 0de528dac7e..c6c61062a42 100644 --- a/usr.bin/skeyinit/skeyinit.c +++ b/usr.bin/skeyinit/skeyinit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: skeyinit.c,v 1.61 2015/10/09 21:59:34 tim Exp $ */ +/* $OpenBSD: skeyinit.c,v 1.62 2015/11/20 20:57:48 deraadt Exp $ */ /* OpenBSD S/Key (skeyinit.c) * @@ -55,6 +55,9 @@ main(int argc, char **argv) struct skey skey; struct passwd *pp; + if (pledge("stdio rpath wpath cpath fattr flock tty", NULL) == -1) + err(1, "pledge"); + n = rmkey = hexmode = enable = 0; defaultsetup = 1; ht = auth_type = NULL; |