aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsemarie <semarie>2016-07-12 12:10:42 +0000
committerDuncaen <mail@duncano.de>2016-09-01 19:28:43 +0200
commit6ec218cb321404af01a1bec505f782e98c5ec7a3 (patch)
tree8f2dac0180e355a96441d733d455e5cb9d404217
parent6ed45e5ffe674eae211814a9c4cfdba38f62ebdc (diff)
downloadopendoas-6ec218cb321404af01a1bec505f782e98c5ec7a3.tar.gz
add "recvfd" to doas(1) for use with skey.
ok tb@ deraadt@
-rw-r--r--doas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doas.c b/doas.c
index 05d2b93..8691559 100644
--- a/doas.c
+++ b/doas.c
@@ -246,7 +246,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); */