artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e61199c
)
For TAME_PROC, allow setrlimit()
author
deraadt
<deraadt@openbsd.org>
Tue, 6 Oct 2015 18:15:02 +0000
(18:15 +0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 6 Oct 2015 18:15:02 +0000
(18:15 +0000)
sys/kern/kern_tame.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_tame.c
b/sys/kern/kern_tame.c
index
1d6b173
..
bd0dea2
100644
(file)
--- a/
sys/kern/kern_tame.c
+++ b/
sys/kern/kern_tame.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_tame.c,v 1.6
3 2015/10/06 17:05:30
deraadt Exp $ */
+/* $OpenBSD: kern_tame.c,v 1.6
4 2015/10/06 18:15:02
deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@
-138,6
+138,7
@@
const u_int tame_syscalls[SYS_MAXSYSCALL] = {
[SYS_kill] = TAME_PROC,
[SYS_setpgid] = TAME_PROC,
[SYS_sigsuspend] = TAME_PROC,
+ [SYS_setrlimit] = TAME_PROC,
[SYS_setgroups] = TAME_PROC,
[SYS_setresgid] = TAME_PROC,