diff options
| author | Andrey Artemiev <artemiev@google.com> | 2022-08-06 05:17:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-06 14:17:33 +0200 |
| commit | 88e3a1226bc591d81c1fb98e83cb63cd4f341c6e (patch) | |
| tree | 323b7fa492a8d9698e432c1d3bd4514771fc3252 /pkg/mgrconfig | |
| parent | e853abd9a2542fcccb8e1a23eb8ae475500ecaf9 (diff) | |
pkg/csource, pkg/instance, pkg/ipc, pkg/mgrconfig, tools/syz-prog2c, syz-manager: introduce a new setting 'sandbox_arg' (#3263)
Diffstat (limited to 'pkg/mgrconfig')
| -rw-r--r-- | pkg/mgrconfig/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
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: |
