diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2019-08-19 18:23:15 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-08-27 14:39:18 -0700 |
| commit | fd37b39ea8db38458059092f5f94b582392e8922 (patch) | |
| tree | e72046a32eb190e7d069bd38c4d132a72d6fa05b /executor/common.h | |
| parent | d21c5d9de0cd2f3124a8218f70c46ab97863a7a2 (diff) | |
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".
Diffstat (limited to 'executor/common.h')
| -rw-r--r-- | executor/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
