artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
476918e
)
add "recvfd" to doas(1) for use with skey.
author
semarie
<semarie@openbsd.org>
Tue, 12 Jul 2016 12:10:42 +0000
(12:10 +0000)
committer
semarie
<semarie@openbsd.org>
Tue, 12 Jul 2016 12:10:42 +0000
(12:10 +0000)
ok tb@ deraadt@
usr.bin/doas/doas.c
patch
|
blob
|
history
diff --git
a/usr.bin/doas/doas.c
b/usr.bin/doas/doas.c
index
84afd3f
..
606d1b1
100644
(file)
--- a/
usr.bin/doas/doas.c
+++ b/
usr.bin/doas/doas.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: doas.c,v 1.5
8 2016/06/24 20:49:56 tedu
Exp $ */
+/* $OpenBSD: doas.c,v 1.5
9 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);