From 45fd7169d5def6b5bc3fb4ff028ba831d1ffa063 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 28 Sep 2022 14:25:25 +0000 Subject: sys/linux: fix invalid args in syz_mount_image tests --- sys/linux/test/syz_mount_image | 3 +-- sys/linux/test/syz_mount_image_fuse | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/linux/test') diff --git a/sys/linux/test/syz_mount_image b/sys/linux/test/syz_mount_image index 991eea1c7..59df784b8 100644 --- a/sys/linux/test/syz_mount_image +++ b/sys/linux/test/syz_mount_image @@ -1,2 +1 @@ -syz_mount_image$tmpfs(&(0x7f0000000000)='tmpfs\x00', &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) -syz_mount_image$tmpfs(&(0x7f0000000000)='tmpfs\x00', &(0x7f0000000100)='./file0\x00', 0x0, 0x1, 0x0, 0x0, 0x0, 0x0) +syz_mount_image$tmpfs(&(0x7f0000000000)='tmpfs\x00', &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &AUTO, 0x0, 0x0, 0x0) diff --git a/sys/linux/test/syz_mount_image_fuse b/sys/linux/test/syz_mount_image_fuse index 0dee8ce71..e9d08d93c 100644 --- a/sys/linux/test/syz_mount_image_fuse +++ b/sys/linux/test/syz_mount_image_fuse @@ -1,7 +1,7 @@ r0 = openat$fuse(0xffffffffffffff9c, &AUTO='/dev/fuse\x00', 0x2, 0x0) r1 = getuid() r2 = getgid() -r3 = syz_mount_image$fuse(&AUTO='fuse\x00', &AUTO='./file0\x00', 0x0, 0x0, 0x0, 0x0, &AUTO={{'fd', 0x3d, r0}, 0x2c, {'rootmode', 0x3d, 0x4000}, 0x2c, {'user_id', 0x3d, r1}, 0x2c, {'group_id', 0x3d, r2}, 0x2c, {[], [], 0x0}}, 0x0) +r3 = syz_mount_image$fuse(&AUTO='fuse\x00', &AUTO='./file0\x00', 0x0, 0x0, &AUTO, 0x0, &AUTO={{'fd', 0x3d, r0}, 0x2c, {'rootmode', 0x3d, 0x4000}, 0x2c, {'user_id', 0x3d, r1}, 0x2c, {'group_id', 0x3d, r2}, 0x2c, {[], [], 0x0}}, 0x0) # FUSE_INIT -- cgit mrf-deployment