From 587cec15e23ecafc9b00f8ae775a98d0e4803997 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 15 Nov 2019 11:42:18 +0100 Subject: pkg/host: add Features.Supported To reduce diff in future changes. Currently no-op. --- tools/syz-execprog/execprog.go | 2 +- tools/syz-runtest/runtest.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/syz-execprog/execprog.go b/tools/syz-execprog/execprog.go index 5aaf81d2f..38412edd4 100644 --- a/tools/syz-execprog/execprog.go +++ b/tools/syz-execprog/execprog.go @@ -69,7 +69,7 @@ func main() { log.Fatalf("%v", err) } if *flagOutput { - for _, feat := range features { + for _, feat := range features.Supported() { log.Logf(0, "%-24v: %v", feat.Name, feat.Reason) } } diff --git a/tools/syz-runtest/runtest.go b/tools/syz-runtest/runtest.go index 538646a2b..a45ac915f 100644 --- a/tools/syz-runtest/runtest.go +++ b/tools/syz-runtest/runtest.go @@ -110,7 +110,7 @@ func main() { } enabledCalls[sandbox] = calls } - for _, feat := range mgr.checkResult.Features { + for _, feat := range mgr.checkResult.Features.Supported() { fmt.Printf("%-24v: %v\n", feat.Name, feat.Reason) } for sandbox, calls := range enabledCalls { -- cgit mrf-deployment