summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2017-01-23 05:49:24 +0000
committerderaadt <deraadt@openbsd.org>2017-01-23 05:49:24 +0000
commit83e6a880d6fc246ca3ec79a31a8e287278527640 (patch)
tree0db555fea18f2b4645a54d8410a0289b67338701
parentMove ex_data, next and prev from SSL_SESSION to internal. (diff)
downloadwireguard-openbsd-83e6a880d6fc246ca3ec79a31a8e287278527640.tar.xz
wireguard-openbsd-83e6a880d6fc246ca3ec79a31a8e287278527640.zip
Backwards compat for pledge "ioctl" for about a week
-rw-r--r--sys/kern/kern_pledge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index e227a1d846d..3730b794134 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.191 2017/01/23 04:25:05 deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.192 2017/01/23 05:49:24 deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -372,6 +372,7 @@ static const struct {
{ "getpw", PLEDGE_GETPW },
{ "id", PLEDGE_ID },
{ "inet", PLEDGE_INET },
+ { "ioctl", PLEDGE_TAPE }, /* Remove Feb 1 2017 */
{ "mcast", PLEDGE_MCAST },
{ "pf", PLEDGE_PF },
{ "proc", PLEDGE_PROC },