From 1856cdc9b3652a082c5bfa0e08a9f883baece8ec Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 15 Sep 2022 09:05:13 +0000 Subject: 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. --- sys/linux/init.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/linux/init.go') 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 { -- cgit mrf-deployment