diff options
Diffstat (limited to 'executor')
| -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 92467dc26..99c3fb9f3 100644 --- a/executor/common.h +++ b/executor/common.h @@ -175,6 +175,7 @@ static void install_segv_handler() sigaction(SIGBUS, &sa, NULL); } +#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) static void use_temporary_dir() { char tmpdir_template[] = "./syzkaller.XXXXXX"; @@ -186,6 +187,7 @@ static void use_temporary_dir() if (chdir(tmpdir)) fail("failed to chdir"); } +#endif #define NONFAILING(...) \ { \ |
