diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-04-01 18:29:56 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-04-01 18:29:56 +0200 |
| commit | 99e3b0a7e8b3ba990fd3ff3e7d10cbd92b957b14 (patch) | |
| tree | 8d907471cc6c69ab35516a80aea3975e759129b9 /pkg/csource/csource.go | |
| parent | 185ac3525e708353d3cae302277225aec1fde165 (diff) | |
sys/linux: add support for reading partition tables
Diffstat (limited to 'pkg/csource/csource.go')
| -rw-r--r-- | pkg/csource/csource.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 } } |
