From 986abd2aaac2ecc77fb0245bfef6edff2c5e9f3b Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 26 Oct 2015 17:52:19 +0000 Subject: [PATCH] Add ppoll() to "stdio" --- sys/kern/kern_pledge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.20.1