aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-13 13:49:08 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-12-17 11:39:14 +0100
commit019cf5f2356fbadb904bb39993ec9e3adb1999c5 (patch)
treea799d25a976c0f142aabcfb2c2f9d3e922532f3d /executor/common_linux.h
parent9150b3e5442f9e9ebc53ef5d5a2cd00f01e6f118 (diff)
sys: move test syscalls to a separate target
We have them in linux solely for historical reasons. Fixes #462
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index a28783ee1..6c43907b2 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -671,14 +671,6 @@ static uintptr_t syz_kvm_setup_cpu(uintptr_t a0, uintptr_t a1, uintptr_t a2, uin
#endif
#endif // #ifdef __NR_syz_kvm_setup_cpu
-#if defined(SYZ_EXECUTOR)
-// TODO(dvyukov): syz_test call should be moved to a "test" target.
-static uintptr_t syz_test()
-{
- return 0;
-}
-#endif
-
#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_SANDBOX_NAMESPACE)
static void loop();