From cb704a294c54aed90281c016a6dc0c40ae295601 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 10 Dec 2019 16:04:18 +0100 Subject: executor: fix syz_mount_image 1. It always crashed in cover_reset when coverage is disabled. 2. Use NONFAILING when accessing image segments. 3. Give it additional 100 ms as it may be slow. 4. Add a test for syz_mount_image. --- sys/linux/test/syz_mount_image | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sys/linux/test/syz_mount_image (limited to 'sys/linux/test') diff --git a/sys/linux/test/syz_mount_image b/sys/linux/test/syz_mount_image new file mode 100644 index 000000000..53f40022b --- /dev/null +++ b/sys/linux/test/syz_mount_image @@ -0,0 +1,2 @@ +syz_mount_image$ext4(&(0x7f0000000000)='tmpfs\x00', &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, 0x0) +syz_mount_image$ext4(&(0x7f0000000000)='tmpfs\x00', &(0x7f0000000100)='./file0\x00', 0x0, 0x1, 0x0, 0x0, 0x0) -- cgit mrf-deployment