From 7957fabb89c534a088d5a7802e327b3bec1c3bc8 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 22 Aug 2025 14:57:32 +0200 Subject: tools/syz-imagegen: accept filesystem descriptions as input Don't generate just the hard-coded list of filesystems, but also generate seeds for the externally supplied json description of a filesystem. Add a special syscall attribute to help syz-imagegen guess the actual filesystem name from the syz_mount_image variant name. --- prog/types.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'prog') diff --git a/prog/types.go b/prog/types.go index 5526eb2a6..3bf7d640e 100644 --- a/prog/types.go +++ b/prog/types.go @@ -48,6 +48,9 @@ type SyscallAttrs struct { Automatic bool AutomaticHelper bool Fsck string + // Filesystem is used in tools/syz-imagegen when fs name cannot be deduced from + // the part after $. + Filesystem string } // MaxArgs is maximum number of syscall arguments. -- cgit mrf-deployment