aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host/host_fuchsia.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-04-06 18:46:49 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-04-06 18:47:56 +0200
commit4daf8570eba286299489fc3ebc7d788c458bb47a (patch)
tree99b413a3fad8b7f7bf87c6a1fe957aa0a6112d75 /pkg/host/host_fuchsia.go
parent48a846e42b1ef210d410b783656c59d5c2827e11 (diff)
pkg/host: explain why syscalls are disabled
Diffstat (limited to 'pkg/host/host_fuchsia.go')
-rw-r--r--pkg/host/host_fuchsia.go9
1 files changed, 2 insertions, 7 deletions
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 {