diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-05-16 12:56:43 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-05-16 15:38:27 +0000 |
| commit | 19e202fa8a3722f5c90ed5847edb5aeabdd5f38f (patch) | |
| tree | a528875b3c3c531b43d5a184f83ec1a04c213914 /pkg/vminfo | |
| parent | e072baa2563542356ae03ad6f2057ad143979f18 (diff) | |
pkg/fuzzer: manipulate ipc.ExecOpts
There's no need in duplicating the signal, coverage, hints flags.
Diffstat (limited to 'pkg/vminfo')
| -rw-r--r-- | pkg/vminfo/features.go | 2 | ||||
| -rw-r--r-- | pkg/vminfo/syscalls.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/vminfo/features.go b/pkg/vminfo/features.go index fb443774c..4a499c1e0 100644 --- a/pkg/vminfo/features.go +++ b/pkg/vminfo/features.go @@ -56,7 +56,7 @@ func (ctx *checkContext) startFeaturesCheck() { Prog: testProg, ReturnOutput: true, ReturnError: true, - ExecOpts: &ipc.ExecOpts{ + ExecOpts: ipc.ExecOpts{ EnvFlags: envFlags, ExecFlags: execFlags, SandboxArg: ctx.cfg.SandboxArg, diff --git a/pkg/vminfo/syscalls.go b/pkg/vminfo/syscalls.go index 54678291f..48fae4d89 100644 --- a/pkg/vminfo/syscalls.go +++ b/pkg/vminfo/syscalls.go @@ -254,7 +254,7 @@ func (ctx *checkContext) execRaw(calls []string, mode prog.DeserializeMode, root } req := &queue.Request{ Prog: p, - ExecOpts: &ipc.ExecOpts{ + ExecOpts: ipc.ExecOpts{ EnvFlags: sandbox, ExecFlags: 0, SandboxArg: ctx.cfg.SandboxArg, |
