summaryrefslogtreecommitdiff
path: root/sys/kern/kern_pledge.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-07-28 12:08:15 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-07-28 12:08:15 +0000
commit24e592aab633b17e2867f4c625504ae296fa12d3 (patch)
treea9cf1f357f53371814e86e12f272b837e92f6845 /sys/kern/kern_pledge.c
parent5bf4b9d7868965876ec34c30c7da44763e6dd534 (diff)
Convert ifq_deq_{begin,rollback,commit} dance to a single ifq_dequeue
Diffstat (limited to 'sys/kern/kern_pledge.c')
-rw-r--r--sys/kern/kern_pledge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index 6411cb6d992..7bbee024104 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.178 2016/07/12 06:06:34 deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.179 2016/07/28 12:08:14 mikeb Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -382,7 +382,7 @@ static const struct {
{ "rpath", PLEDGE_RPATH },
{ "sendfd", PLEDGE_SENDFD },
{ "settime", PLEDGE_SETTIME },
- { "stdio", PLEDGE_STDIO },
+ { "stdio", PLEDGE_STDIO|PLEDGE_RECVFD },
{ "tmppath", PLEDGE_TMPPATH },
{ "tty", PLEDGE_TTY },
{ "unix", PLEDGE_UNIX },