aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/mgrconfig
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-02-06 15:06:26 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-02-06 15:31:42 +0100
commit55e0929fab461fee7733a18f8b543f9a5d6b9f6f (patch)
tree3cc63faa3c1b4695cccd89cf5c85ec9b5163901e /pkg/mgrconfig
parent8d4a47e6d71a9ca2dd769765a52e01c9c897c946 (diff)
all: enable run_fsck by default
Check for the existence of fsck binaries and report their absence only once.
Diffstat (limited to 'pkg/mgrconfig')
-rw-r--r--pkg/mgrconfig/config.go1
-rw-r--r--pkg/mgrconfig/load.go1
2 files changed, 2 insertions, 0 deletions
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,