diff options
Diffstat (limited to 'executor/common_akaros.h')
| -rw-r--r-- | executor/common_akaros.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/executor/common_akaros.h b/executor/common_akaros.h deleted file mode 100644 index 7886a4996..000000000 --- a/executor/common_akaros.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2017 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -// This file is shared between executor and csource package. - -#include <ros/syscall.h> -#include <stdlib.h> -#include <unistd.h> - -#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE -static void loop(); -static int do_sandbox_none(void) -{ - loop(); - return 0; -} -#endif - -#if SYZ_EXECUTOR || SYZ_REPEAT -static void execute_one(); -const char* program_name; - -void child() -{ -#if SYZ_EXECUTOR || SYZ_HANDLE_SEGV - install_segv_handler(); -#endif -#if SYZ_EXECUTOR - receive_execute(); - close(kInPipeFd); -#endif - execute_one(); - doexit(0); -} -#endif |
