From: deraadt Date: Tue, 30 May 2017 15:04:45 +0000 (+0000) Subject: getrtable() is now permitted in "stdio". It carries no risk factors. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11430c74f67ddae177319b6d22fa64f9cfbb1534;p=openbsd getrtable() is now permitted in "stdio". It carries no risk factors. --- diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index ef4c766b263..dae6a1bccb7 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.209 2017/05/21 13:00:53 visa Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.210 2017/05/30 15:04:45 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -129,6 +129,7 @@ const uint64_t pledge_syscalls[SYS_MAXSYSCALL] = { [SYS_getsid] = PLEDGE_STDIO, [SYS_getthrid] = PLEDGE_STDIO, [SYS_getrlimit] = PLEDGE_STDIO, + [SYS_getrtable] = PLEDGE_STDIO, [SYS_gettimeofday] = PLEDGE_STDIO, [SYS_getdtablecount] = PLEDGE_STDIO, [SYS_getrusage] = PLEDGE_STDIO,