aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-sysgen
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-05-12 11:56:49 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-05-12 11:58:00 +0200
commit9cea41ad339ff55a0eb50b43b15c73245fa86343 (patch)
treed219e61d22d8f201c497ffa08ce977b404869c1d /sys/syz-sysgen
parent64d61b4117219acd0f32516e99c2816bf7cd1547 (diff)
sys/syz-sysgen: fix up linux/arm/kvm hack
We have some private files that need to be excluded as well... oh, hacks.
Diffstat (limited to 'sys/syz-sysgen')
-rw-r--r--sys/syz-sysgen/sysgen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/syz-sysgen/sysgen.go b/sys/syz-sysgen/sysgen.go
index 9e4f894cd..7b275ce4f 100644
--- a/sys/syz-sysgen/sysgen.go
+++ b/sys/syz-sysgen/sysgen.go
@@ -117,7 +117,7 @@ func main() {
// Note: syz-extract also ignores this file for arm.
top = descriptions.Filter(func(n ast.Node) bool {
pos, _, _ := n.Info()
- return pos.File != "dev_kvm.txt"
+ return !strings.HasSuffix(pos.File, "_kvm.txt")
})
}
if OS == "test" {