artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f011c38
)
Add getrusage() to the TAME_SELF catagory.
author
deraadt
<deraadt@openbsd.org>
Tue, 6 Oct 2015 14:02:49 +0000
(14:02 +0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 6 Oct 2015 14:02:49 +0000
(14:02 +0000)
sys/kern/kern_tame.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_tame.c
b/sys/kern/kern_tame.c
index
0b0f095
..
75eb3cf
100644
(file)
--- a/
sys/kern/kern_tame.c
+++ b/
sys/kern/kern_tame.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_tame.c,v 1.5
8 2015/10/06 05:42:12
deraadt Exp $ */
+/* $OpenBSD: kern_tame.c,v 1.5
9 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,