From fd37b39ea8db38458059092f5f94b582392e8922 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Mon, 19 Aug 2019 18:23:15 -0700 Subject: all: convert Fuchsia to use "host fuzzing" mode Go support is not a priority for Fuchsia at the moment, so it's preferable to use host fuzzing mode for Fuchsia like currently done for Akaros. This commit basically looks for all the places where there was special logic for OS=="akaros" and extends the same logic for OS=="fuchsia". --- executor/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'executor') diff --git a/executor/common.h b/executor/common.h index 378dca0f7..1d0616d70 100644 --- a/executor/common.h +++ b/executor/common.h @@ -167,6 +167,8 @@ static void use_temporary_dir(void) { #if SYZ_SANDBOX_ANDROID_UNTRUSTED_APP char tmpdir_template[] = "/data/data/syzkaller/syzkaller.XXXXXX"; +#elif GOOS_fuchsia + char tmpdir_template[] = "/tmp/syzkaller.XXXXXX"; #else char tmpdir_template[] = "./syzkaller.XXXXXX"; #endif -- cgit mrf-deployment