aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorViacheslav Sablin <sjava1902@gmail.com>2024-08-08 21:56:44 +0300
committerDmitry Vyukov <dvyukov@google.com>2024-08-09 16:47:28 +0000
commit6f4edef43e90da260aa93c16da223a2a5569c978 (patch)
tree94f26e312dd260930d1a8f5ffba8189459c6239f /sys/linux
parentd3626f4ea29c950db0d720c7fca5cd8807b34781 (diff)
sys/linux/filesystem: add mount flags for squashfs
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/filesystem.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt
index 8b583f019..2fe096c87 100644
--- a/sys/linux/filesystem.txt
+++ b/sys/linux/filesystem.txt
@@ -131,7 +131,7 @@ syz_mount_image$romfs(fs ptr[in, string["romfs"]], dir ptr[in, filename], flags
syz_mount_image$efs(fs ptr[in, string["efs"]], dir ptr[in, filename], flags flags[mount_flags], opts ptr[in, fs_options[stringnoz]], chdir bool8, size len[img], img ptr[in, compressed_image]) fd_dir (timeout[SYZ_MOUNT_IMAGE_TIMEOUT], no_generate, no_minimize)
syz_mount_image$jffs2(fs ptr[in, string["jffs2"]], dir ptr[in, filename], flags flags[mount_flags], opts ptr[in, fs_options[jffs2_options]], chdir bool8, size len[img], img ptr[in, compressed_image]) fd_dir (timeout[SYZ_MOUNT_IMAGE_TIMEOUT], no_generate, no_minimize)
syz_mount_image$nilfs2(fs ptr[in, string["nilfs2"]], dir ptr[in, filename], flags flags[mount_flags], opts ptr[in, fs_options[nilfs2_options]], chdir bool8, size len[img], img ptr[in, compressed_image]) fd_dir (timeout[SYZ_MOUNT_IMAGE_TIMEOUT], no_generate, no_minimize)
-syz_mount_image$squashfs(fs ptr[in, string["squashfs"]], dir ptr[in, filename], flags flags[mount_flags], opts ptr[in, fs_options[stringnoz]], chdir bool8, size len[img], img ptr[in, compressed_image]) fd_dir (timeout[SYZ_MOUNT_IMAGE_TIMEOUT], no_generate, no_minimize)
+syz_mount_image$squashfs(fs ptr[in, string["squashfs"]], dir ptr[in, filename], flags flags[mount_flags], opts ptr[in, fs_options[squashfs_options]], chdir bool8, size len[img], img ptr[in, compressed_image]) fd_dir (timeout[SYZ_MOUNT_IMAGE_TIMEOUT], no_generate, no_minimize)
syz_mount_image$udf(fs ptr[in, string["udf"]], dir ptr[in, filename], flags flags[mount_flags], opts ptr[in, fs_options[udf_options]], chdir bool8, size len[img], img ptr[in, compressed_image]) fd_dir (timeout[SYZ_MOUNT_IMAGE_TIMEOUT], no_generate, no_minimize)
syz_mount_image$bcachefs(fs ptr[in, string["bcachefs"]], dir ptr[in, filename], flags flags[mount_flags], opts ptr[in, fs_options[bcachefs_options]], chdir bool8, size len[img], img ptr[in, compressed_image]) fd_dir (timeout[SYZ_MOUNT_IMAGE_TIMEOUT], no_generate, no_minimize)
@@ -932,6 +932,14 @@ nilfs2_options [
order_strict stringnoz["order=strict"]
] [varlen]
+squashfs_options [
+ errors stringnoz["errors=continue"]
+ threads_str fs_opt["threads", stringnoz[squashfs_thread]]
+ threads_num fs_opt_dec["threads", int32]
+] [varlen]
+
+squashfs_thread = "single", "multi", "percpu"
+
ubifs_options [
fast_unmount stringnoz["fast_unmount"]
norm_unmount stringnoz["norm_unmount"]