From: deraadt Date: Mon, 12 Oct 2015 23:16:23 +0000 (+0000) Subject: pledge "proc" request should allow setsid() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=43f44a8722134d8e51ab57c361bd27176be05cab;p=openbsd pledge "proc" request should allow setsid() --- diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 3a07c340f36..7edad82e086 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.16 2015/10/12 21:43:20 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.17 2015/10/12 23:16:23 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -141,6 +141,7 @@ const u_int pledge_syscalls[SYS_MAXSYSCALL] = { [SYS_vfork] = PLEDGE_PROC, [SYS_kill] = PLEDGE_SELF | PLEDGE_PROC, [SYS_setpgid] = PLEDGE_PROC, + [SYS_setsid] = PLEDGE_PROC, [SYS_setrlimit] = PLEDGE_PROC, [SYS_execve] = PLEDGE_EXEC,