From 43f44a8722134d8e51ab57c361bd27176be05cab Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 12 Oct 2015 23:16:23 +0000 Subject: [PATCH] pledge "proc" request should allow setsid() --- sys/kern/kern_pledge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.20.1