From 8cc0c5c595cd14fb40a0052bbedd7ff3e96f64c8 Mon Sep 17 00:00:00 2001 From: Hrutvik Kanabar Date: Thu, 27 Oct 2022 14:27:38 +0000 Subject: sys/linux, tools/syz-imagegen: update `syz_mount_image` to use `compressed_image` Rather than accepting "segments", `syz_mount_image` now accepts a compressed image. Since this is already a corpus-breaking change, also rearrange the arguments so that the image is at the end. This makes it easier to inspect what the other arguments are set to. We need to increase the timeout associated with `syz_mount_image`, as decompression and execution take a little longer. 5000ms should be very generous. This commit updates the descriptions and the `syz-imagegen` tool. The executor, seed images, and asset saving will be updated in future commits. --- sys/linux/filesystem.txt.const | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/linux/filesystem.txt.const') diff --git a/sys/linux/filesystem.txt.const b/sys/linux/filesystem.txt.const index f6cbdb675..aae530c7e 100644 --- a/sys/linux/filesystem.txt.const +++ b/sys/linux/filesystem.txt.const @@ -56,7 +56,7 @@ MS_SYNCHRONOUS = 16 MS_UNBINDABLE = 131072 OPEN_TREE_CLOEXEC = 524288 OPEN_TREE_CLONE = 1 -SYZ_MOUNT_IMAGE_TIMEOUT = 50 +SYZ_MOUNT_IMAGE_TIMEOUT = 4000 UMOUNT_NOFOLLOW = 8 __NR_fsconfig = 431, mips64le:5431 __NR_fsmount = 432, mips64le:5432 -- cgit mrf-deployment