From 4daf8570eba286299489fc3ebc7d788c458bb47a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 6 Apr 2018 18:46:49 +0200 Subject: pkg/host: explain why syscalls are disabled --- pkg/host/host_fuchsia.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'pkg/host/host_fuchsia.go') diff --git a/pkg/host/host_fuchsia.go b/pkg/host/host_fuchsia.go index b145961df..87143d768 100644 --- a/pkg/host/host_fuchsia.go +++ b/pkg/host/host_fuchsia.go @@ -9,13 +9,8 @@ import ( "github.com/google/syzkaller/prog" ) -// DetectSupportedSyscalls returns list on supported syscalls on host. -func DetectSupportedSyscalls(target *prog.Target, sandbox string) (map[*prog.Syscall]bool, error) { - supported := make(map[*prog.Syscall]bool) - for _, c := range target.Syscalls { - supported[c] = true - } - return supported, nil +func isSupported(c *prog.Syscall, sandbox string) (bool, string) { + return true, "" } func EnableFaultInjection() error { -- cgit mrf-deployment