From 19e202fa8a3722f5c90ed5847edb5aeabdd5f38f Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 16 May 2024 12:56:43 +0200 Subject: pkg/fuzzer: manipulate ipc.ExecOpts There's no need in duplicating the signal, coverage, hints flags. --- pkg/vminfo/features.go | 2 +- pkg/vminfo/syscalls.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/vminfo') 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, -- cgit mrf-deployment