From 191c0565a15564c6fb4e1c985e9a1862d8ba3698 Mon Sep 17 00:00:00 2001 From: Stefano Duo Date: Mon, 13 Jul 2020 08:03:44 +0000 Subject: sys/linux/fs_fuse.txt: define FUSE request id as a resource Currently fuse_in.unique and fuse_out.unique are not linked by any dependency chain. This causes the majority of the replies to the kernel to be dropped because not referring to a previously sent request. By defining them as a resource, we push the fuzzer in the right direction (i.e., try to respond using a previously issued unique value). The read syscall has been updated accordingly, it now expects and parses a fuse_in header and some additional data. --- sys/linux/dev_usbmon.txt.const | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/linux/dev_usbmon.txt.const') diff --git a/sys/linux/dev_usbmon.txt.const b/sys/linux/dev_usbmon.txt.const index fb350394f..25225841c 100644 --- a/sys/linux/dev_usbmon.txt.const +++ b/sys/linux/dev_usbmon.txt.const @@ -1,8 +1,8 @@ # Code generated by syz-sysgen. DO NOT EDIT. arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x -BUFF_MAX = 1228800 -BUFF_MIN = 8192 -CHUNK_SIZE = 4096 +BUFF_MAX = 1228800, ppc64le:1245184 +BUFF_MIN = 8192, ppc64le:65536 +CHUNK_SIZE = 4096, ppc64le:65536 MON_IOCG_STATS = 2148045315, mips64le:ppc64le:1074303491 MON_IOCH_MFLUSH = 37384, mips64le:ppc64le:536908296 MON_IOCQ_RING_SIZE = 37381, mips64le:ppc64le:536908293 @@ -12,7 +12,7 @@ MON_IOCX_GET = 1075352070, 386:arm:1074565638, mips64le:ppc64le:2149093894 MON_IOCX_GETX = 1075352074, 386:arm:1074565642, mips64le:ppc64le:2149093898 MON_IOCX_MFETCH = 3222311431, 386:arm:3222049287 MON_IOC_MAGIC = 146 -PAGE_SIZE = 4096 +PAGE_SIZE = 4096, ppc64le:65536 SETUP_LEN = 8 __NR_ioctl = 54, amd64:16, arm64:riscv64:29, mips64le:5015 __NR_mmap = 90, 386:arm:192, amd64:9, arm64:riscv64:222, mips64le:5009 -- cgit mrf-deployment