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