diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-08-22 14:57:32 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-08-29 10:10:25 +0000 |
| commit | 7957fabb89c534a088d5a7802e327b3bec1c3bc8 (patch) | |
| tree | 3489a7b80eb6547dac91fe3860087cdfa5b515ec /prog | |
| parent | 3e1beec658de176f019d70b438efd52ea21b2cf4 (diff) | |
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.
Diffstat (limited to 'prog')
| -rw-r--r-- | prog/types.go | 3 |
1 files changed, 3 insertions, 0 deletions
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. |
