diff options
| author | liucy1998 <liucy1998@outlook.com> | 2020-10-27 04:35:48 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-10-27 07:50:27 +0100 |
| commit | 4ad9d45c6b9ab2ddc1666a2989dd71e2a0629d07 (patch) | |
| tree | 0493e81a2141ae0372c86b4d659e0b3b520612eb /executor | |
| parent | 8b3eaf58f88f0e0a776866110d9baf8367dde8f0 (diff) | |
executor, pkg/csource: remove setpgrp() in sandbox_common()
Process group leader is not allowed to call setsid, thus remove setpgrp.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_linux.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 |
