aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/linux_common.go
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 /pkg/csource/linux_common.go
parent9150b3e5442f9e9ebc53ef5d5a2cd00f01e6f118 (diff)
sys: move test syscalls to a separate target
We have them in linux solely for historical reasons. Fixes #462
Diffstat (limited to 'pkg/csource/linux_common.go')
-rw-r--r--pkg/csource/linux_common.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/csource/linux_common.go b/pkg/csource/linux_common.go
index c43fb43c2..14a7d91df 100644
--- a/pkg/csource/linux_common.go
+++ b/pkg/csource/linux_common.go
@@ -1733,13 +1733,6 @@ static uintptr_t syz_kvm_setup_cpu(uintptr_t a0, uintptr_t a1, uintptr_t a2, uin
#endif
#endif
-#if defined(SYZ_EXECUTOR)
-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();