From 2b1a0fdaef12693bcf78c8af9d9eaa4d17771bde Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 6 Oct 2015 14:02:49 +0000 Subject: [PATCH] Add getrusage() to the TAME_SELF catagory. --- sys/kern/kern_tame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.20.1