From: deraadt Date: Tue, 6 Oct 2015 14:02:49 +0000 (+0000) Subject: Add getrusage() to the TAME_SELF catagory. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2b1a0fdaef12693bcf78c8af9d9eaa4d17771bde;p=openbsd Add getrusage() to the TAME_SELF catagory. --- diff --git a/sys/kern/kern_tame.c b/sys/kern/kern_tame.c index 0b0f095c43e..75eb3cf77ce 100644 --- a/sys/kern/kern_tame.c +++ b/sys/kern/kern_tame.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tame.c,v 1.58 2015/10/06 05:42:12 deraadt Exp $ */ +/* $OpenBSD: kern_tame.c,v 1.59 2015/10/06 14:02:49 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -68,6 +68,7 @@ const u_int tame_syscalls[SYS_MAXSYSCALL] = { [SYS_getrlimit] = TAME_SELF, [SYS_gettimeofday] = TAME_SELF, [SYS_getdtablecount] = TAME_SELF, + [SYS_getrusage] = TAME_SELF, [SYS_issetugid] = TAME_SELF, [SYS_clock_getres] = TAME_SELF, [SYS_clock_gettime] = TAME_SELF,