aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-imagegen
diff options
context:
space:
mode:
authorHrutvik Kanabar <hrutvik@google.com>2022-09-07 12:18:47 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2022-09-09 15:01:01 +0200
commitfc2bb21daa6ebaa03a9f8a530aeaffd7ab11142a (patch)
treec602600ecab5455c0800a861261b2ddac927d65a /tools/syz-imagegen
parent32244cbc65796da6329adf1406b92f680e92b0b9 (diff)
tools/syz-imagegen: update `udf` image generation
`./syz-imagegen -fs udf` fails for two images. `dmesg` indicates the following issue: udf_load_sparable_map: error loading logical volume descriptor: Too big sparing table size (568) This was introduced in the following commit: torvalds/linux@44ac6b829c4e173fdf6df18e6dd86aecf9a3dc99 Interestingly in response to a `syzbot` bug report! `mkfs.udf` requires the size of the sparing table to be no more than the block size. This commit specifies the sparing table size as the block size (512) for the previously failing images. Images will be regenerated in a future commit.
Diffstat (limited to 'tools/syz-imagegen')
-rw-r--r--tools/syz-imagegen/imagegen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syz-imagegen/imagegen.go b/tools/syz-imagegen/imagegen.go
index 498c6f443..b5e1f6a69 100644
--- a/tools/syz-imagegen/imagegen.go
+++ b/tools/syz-imagegen/imagegen.go
@@ -400,8 +400,8 @@ var fileSystems = []FileSystem{
"-m cdrw -r 1.50 --space=unalloctable --ad=long",
"-m cdrw -r 2.01",
"-m dvdrw -r 1.50 --space=unallocbitmap --ad=short",
- "-m dvdrw -r 2.01 --space=unalloctable --noefe",
- "-m dvdrw -r 2.01",
+ "-m dvdrw -r 2.01 --sparspace=512 --space=unalloctable --noefe",
+ "-m dvdrw -r 2.01 --sparspace=512",
"-m dvdram -r 1.50 --ad=long",
"-m dvdram -r 2.01 ",
"-m dvdram -r 2.01 --space=unallocbitmap --ad=long",