From 4ad9d45c6b9ab2ddc1666a2989dd71e2a0629d07 Mon Sep 17 00:00:00 2001 From: liucy1998 Date: Tue, 27 Oct 2020 04:35:48 +0000 Subject: executor, pkg/csource: remove setpgrp() in sandbox_common() Process group leader is not allowed to call setsid, thus remove setpgrp. --- executor/common_linux.h | 1 - 1 file changed, 1 deletion(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index 76f75c316..1d372af7f 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -3559,7 +3559,6 @@ static void loop(); static void sandbox_common() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); - setpgrp(); setsid(); #if SYZ_EXECUTOR || __NR_syz_init_net_socket || SYZ_DEVLINK_PCI -- cgit mrf-deployment