From 99e3b0a7e8b3ba990fd3ff3e7d10cbd92b957b14 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 1 Apr 2018 18:29:56 +0200 Subject: sys/linux: add support for reading partition tables --- pkg/csource/csource.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/csource/csource.go') diff --git a/pkg/csource/csource.go b/pkg/csource/csource.go index 05bead91d..ddc108959 100644 --- a/pkg/csource/csource.go +++ b/pkg/csource/csource.go @@ -65,7 +65,8 @@ func Write(p *prog.Prog, opts Options) ([]byte, error) { } needProcID := opts.Procs > 1 || opts.EnableCgroups for _, c := range p.Calls { - if c.Meta.CallName == "syz_mount_image" { + if c.Meta.CallName == "syz_mount_image" || + c.Meta.CallName == "syz_read_part_table" { needProcID = true } } -- cgit mrf-deployment