summaryrefslogtreecommitdiff
path: root/usr.bin/doas
diff options
context:
space:
mode:
authorSebastien Marie <semarie@cvs.openbsd.org>2016-07-12 12:10:43 +0000
committerSebastien Marie <semarie@cvs.openbsd.org>2016-07-12 12:10:43 +0000
commit9fb25e04b5a78e82273b90f3d8f3e353265deec3 (patch)
treed3dfc9ac5934885b6b4f392e01b5fad5f76cfc5b /usr.bin/doas
parent437ad6999e395d05ac5ce0fe99d15319504bd8de (diff)
add "recvfd" to doas(1) for use with skey.
ok tb@ deraadt@
Diffstat (limited to 'usr.bin/doas')
-rw-r--r--usr.bin/doas/doas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doas/doas.c b/usr.bin/doas/doas.c
index 84afd3f99ec..606d1b1506a 100644
--- a/usr.bin/doas/doas.c
+++ b/usr.bin/doas/doas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: doas.c,v 1.58 2016/06/24 20:49:56 tedu Exp $ */
+/* $OpenBSD: doas.c,v 1.59 2016/07/12 12:10:42 semarie Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -230,7 +230,7 @@ main(int argc, char **argv)
setprogname("doas");
- if (pledge("stdio rpath getpw tty proc exec id", NULL) == -1)
+ if (pledge("stdio rpath getpw tty recvfd proc exec id", NULL) == -1)
err(1, "pledge");
closefrom(STDERR_FILENO + 1);