diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-06 18:15:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-06 18:15:03 +0000 |
commit | d92baf269bc44da3972d7aa4181dd46394de0676 (patch) | |
tree | 09a7ad6cb9e1f525c96ba77151bd8fc1984423d0 /sys | |
parent | ff7127626f6a6038687bedb34de721af34afc76b (diff) |
For TAME_PROC, allow setrlimit()
Diffstat (limited to 'sys')
-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 1d6b17363e1..bd0dea281e4 100644 --- a/sys/kern/kern_tame.c +++ b/sys/kern/kern_tame.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tame.c,v 1.63 2015/10/06 17:05:30 deraadt Exp $ */ +/* $OpenBSD: kern_tame.c,v 1.64 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, |