aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_bsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_bsd.h')
-rw-r--r--executor/common_bsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h
index 683e7c140..7d387be16 100644
--- a/executor/common_bsd.h
+++ b/executor/common_bsd.h
@@ -396,7 +396,7 @@ static void sandbox_common()
#if SYZ_EXECUTOR
if (!flag_threaded)
#endif
- if (setsid() == -1)
+ if (setsid() == -1 && errno != EPERM)
fail("setsid failed");
#endif