From 55e0929fab461fee7733a18f8b543f9a5d6b9f6f Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 6 Feb 2025 15:06:26 +0100 Subject: all: enable run_fsck by default Check for the existence of fsck binaries and report their absence only once. --- pkg/mgrconfig/config.go | 1 + pkg/mgrconfig/load.go | 1 + 2 files changed, 2 insertions(+) (limited to 'pkg/mgrconfig') diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go index a02c00c67..42730eef4 100644 --- a/pkg/mgrconfig/config.go +++ b/pkg/mgrconfig/config.go @@ -206,6 +206,7 @@ type Config struct { // Note: you may need to install 3rd-party dependencies for this to work. // fsck commands that can be run by syz-manager are specified in mount // syscall descriptions - typically in sys/linux/filesystem.txt. + // Enabled by default. RunFsck bool `json:"run_fsck"` // Type of virtual machine to use, e.g. "qemu", "gce", "android", "isolated", etc. diff --git a/pkg/mgrconfig/load.go b/pkg/mgrconfig/load.go index 0624dae00..81ff2871a 100644 --- a/pkg/mgrconfig/load.go +++ b/pkg/mgrconfig/load.go @@ -94,6 +94,7 @@ func defaultValues() *Config { MaxCrashLogs: 100, Procs: 6, PreserveCorpus: true, + RunFsck: true, Experimental: Experimental{ RemoteCover: true, CoverEdges: true, -- cgit mrf-deployment