aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/csource.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/csource/csource.go')
-rw-r--r--pkg/csource/csource.go3
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
}
}