From 06ece2ca663d0565d9e4cd932c4c2d86767a5396 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 12 Jun 2018 14:05:02 +0200 Subject: pkg/host: rework host feature detection/setup Currently host feature detection/setup code is spread across platform-independent fuzzer code, pkg/host, pkg/ipc and executor. Move this all into pkg/host and show readable info about features on manager start. Fixes #46 --- pkg/host/host_netbsd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/host/host_netbsd.go') diff --git a/pkg/host/host_netbsd.go b/pkg/host/host_netbsd.go index bada10ec7..238edd46d 100644 --- a/pkg/host/host_netbsd.go +++ b/pkg/host/host_netbsd.go @@ -11,6 +11,6 @@ func isSupported(c *prog.Syscall, sandbox string) (bool, string) { return true, "" } -func EnableFaultInjection() error { - return nil +func init() { + checkFeature[FeatureCoverage] = unconditionallyEnabled } -- cgit mrf-deployment