summaryrefslogtreecommitdiff
path: root/sys/kern/kern_pledge.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-01-23 05:49:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-01-23 05:49:25 +0000
commit8eca7ced7bb3e49b5944e163fb45a0b99a82a7a5 (patch)
tree6a88ccc982ff05a670be79ec0e2d1dfc07349589 /sys/kern/kern_pledge.c
parent55a88ae4474eb17798999076a924b9e4978d1063 (diff)
Backwards compat for pledge "ioctl" for about a week
Diffstat (limited to 'sys/kern/kern_pledge.c')
-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 },