From: deraadt Date: Mon, 26 Oct 2015 17:52:19 +0000 (+0000) Subject: Add ppoll() to "stdio" X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=986abd2aaac2ecc77fb0245bfef6edff2c5e9f3b;p=openbsd Add ppoll() to "stdio" --- diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index b78c29876d5..3cdbfa689dc 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.79 2015/10/26 12:13:45 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.80 2015/10/26 17:52:19 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -121,6 +121,7 @@ const u_int pledge_syscalls[SYS_MAXSYSCALL] = { [SYS_settimeofday] = PLEDGE_SETTIME, [SYS_poll] = PLEDGE_STDIO, + [SYS_ppoll] = PLEDGE_STDIO, [SYS_kevent] = PLEDGE_STDIO, [SYS_kqueue] = PLEDGE_STDIO, [SYS_select] = PLEDGE_STDIO,