opendoas

A portable version of the OpenBSD `doas` command
git clone https://pi.duncano.de/git/opendoas.git
Log | Files | Refs | README | LICENSE

commit 6ec218cb321404af01a1bec505f782e98c5ec7a3
parent 6ed45e5ffe674eae211814a9c4cfdba38f62ebdc
Author: semarie <semarie>
Date:   Tue, 12 Jul 2016 12:10:42 +0000

add "recvfd" to doas(1) for use with skey.

ok tb@ deraadt@

Diffstat:
doas.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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); */