aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@basename.se>2020-12-05 17:03:11 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-12-09 06:58:05 +0100
commit0cf8cfe99da5b555b835f967f3b3cd43f542c0f4 (patch)
treeaf1d7c07cea32e0bf12b6d8e39ccac8fe083b634 /executor/executor.cc
parent40cc414d10dabacf34877f4902279729ca3bc011 (diff)
executor: skip setsid() for threaded reproducers
Lately, I've been looking into why such low amount of syz reproducers on OpenBSD are turned into C reproducers. One thing I did notice is that such syz reproducers have one thing in common: they use the threaded=true and sandbox=none parameters. Such C reproducer always exits non-zero early on since the call to setsid() fails with EPERM. Meaning, the calling process is already a process group leader. Not sure if the preprocessor conditional should be tweaked in order to avoid unwanted side effects on other BSDs or configurations.
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions