From ab9fabf95864c5183713081c05a3780060e0940f Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Fri, 19 May 2017 15:53:19 +0200 Subject: csource: don't generate execute_syscall calls --- executor/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'executor') diff --git a/executor/common.h b/executor/common.h index 7f0bfb7f5..f1df1148b 100644 --- a/executor/common.h +++ b/executor/common.h @@ -634,6 +634,7 @@ 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 +#ifdef SYZ_EXECUTOR static uintptr_t execute_syscall(int nr, uintptr_t a0, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uintptr_t a6, uintptr_t a7, uintptr_t a8) { switch (nr) { @@ -673,6 +674,7 @@ static uintptr_t execute_syscall(int nr, uintptr_t a0, uintptr_t a1, uintptr_t a #endif } } +#endif #if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_SANDBOX_NAMESPACE) static void loop(); -- cgit mrf-deployment