diff options
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common.h | 2 | ||||
| -rw-r--r-- | executor/common_akaros.h | 2 | ||||
| -rw-r--r-- | executor/common_test.h | 2 | ||||
| -rw-r--r-- | executor/common_windows.h | 2 |
4 files changed, 3 insertions, 5 deletions
diff --git a/executor/common.h b/executor/common.h index 61600a712..dc1276cf9 100644 --- a/executor/common.h +++ b/executor/common.h @@ -398,8 +398,6 @@ static long syz_execute_func(long text) #include "common_test.h" #elif GOOS_windows #include "common_windows.h" -#elif GOOS_test -#include "common_test.h" #else #error "unknown OS" #endif diff --git a/executor/common_akaros.h b/executor/common_akaros.h index ead67c36c..7886a4996 100644 --- a/executor/common_akaros.h +++ b/executor/common_akaros.h @@ -12,7 +12,7 @@ static void loop(); static int do_sandbox_none(void) { loop(); - doexit(0); + return 0; } #endif diff --git a/executor/common_test.h b/executor/common_test.h index e0390eb68..9e3dcd6ff 100644 --- a/executor/common_test.h +++ b/executor/common_test.h @@ -86,6 +86,6 @@ static void loop(); static int do_sandbox_none(void) { loop(); - doexit(0); + return 0; } #endif diff --git a/executor/common_windows.h b/executor/common_windows.h index d6b786ac1..e9722a360 100644 --- a/executor/common_windows.h +++ b/executor/common_windows.h @@ -108,6 +108,6 @@ static void loop(); static int do_sandbox_none(void) { loop(); - doexit(0); + return 0; } #endif |
