From 88e3a1226bc591d81c1fb98e83cb63cd4f341c6e Mon Sep 17 00:00:00 2001 From: Andrey Artemiev Date: Sat, 6 Aug 2022 05:17:33 -0700 Subject: pkg/csource, pkg/instance, pkg/ipc, pkg/mgrconfig, tools/syz-prog2c, syz-manager: introduce a new setting 'sandbox_arg' (#3263) --- pkg/mgrconfig/config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/mgrconfig') diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go index 2c3d19475..9073c482c 100644 --- a/pkg/mgrconfig/config.go +++ b/pkg/mgrconfig/config.go @@ -125,6 +125,11 @@ type Config struct { // "android": emulate permissions of an untrusted Android app (supported only on Linux) Sandbox string `json:"sandbox"` + // This value is passed as an argument to executor and allows to adjust sandbox behavior + // via manager config. For example you can switch between system and user accounts based + // on this value. + SandboxArg int `json:"sandbox_arg"` + // Use KCOV coverage (default: true). Cover bool `json:"cover"` // Use coverage filter. Supported types of filter: -- cgit mrf-deployment