aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2022-09-28 14:25:25 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2022-09-29 13:44:19 +0200
commit45fd7169d5def6b5bc3fb4ff028ba831d1ffa063 (patch)
tree13dfd4249132b1e9c0147e50577ed63f180a5a42 /sys/linux/test
parent21d737fbf9bad3f2a9190bc31212f29edbfcaeb3 (diff)
sys/linux: fix invalid args in syz_mount_image tests
Diffstat (limited to 'sys/linux/test')
-rw-r--r--sys/linux/test/syz_mount_image3
-rw-r--r--sys/linux/test/syz_mount_image_fuse2
2 files changed, 2 insertions, 3 deletions
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