diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2022-09-15 09:05:13 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-09-27 13:07:37 +0200 |
| commit | 1856cdc9b3652a082c5bfa0e08a9f883baece8ec (patch) | |
| tree | b929711cc5e8da196a11dd85141f7d374b132eff /sys/linux/init.go | |
| parent | 87840e0023f7adfb7ff928a8a5057932ea9aeab9 (diff) | |
executor: move syz_mount_image's sanity checks to syz-fuzzer
It will simplify the C code and let us extract the raw images in a more
convenient way.
Diffstat (limited to 'sys/linux/init.go')
| -rw-r--r-- | sys/linux/init.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/init.go b/sys/linux/init.go index 480ac1d96..9080cbd7c 100644 --- a/sys/linux/init.go +++ b/sys/linux/init.go @@ -241,6 +241,8 @@ func (arch *arch) neutralize(c *prog.Call) { case "sched_setattr": // Enabling a SCHED_FIFO or a SCHED_RR policy may lead to false positive stall-related crashes. neutralizeSchedAttr(c.Args[1]) + case "syz_mount_image": + arch.fixUpSyzMountImage(c) } switch c.Meta.Name { |
