diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-06 14:02:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-06 14:02:50 +0000 |
commit | 142b18643ee835df9deb1b31336fbb25279d5ab5 (patch) | |
tree | 6b9d1a94b37c6ecfa34f26e3a07ae148f00412d4 /sys/kern | |
parent | e1b92381336cc8c8c3c8b8b5d51117c0768aca09 (diff) |
Add getrusage() to the TAME_SELF catagory.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_tame.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <nicm@openbsd.org> @@ -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, |