diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-05-17 18:07:51 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-05-21 09:46:36 +0000 |
| commit | 780a5444026e461c8be27b8615a81360310582e7 (patch) | |
| tree | 0a508a764f8a9e0cdc08ceac73f120c0f026e34c /pkg/vminfo | |
| parent | 1d3c25e7679384c386e7710ea11e364ce9f9e028 (diff) | |
pkg/ipc: remove ExecOpts
Switch to flatrpc.ExecOpts.
Diffstat (limited to 'pkg/vminfo')
| -rw-r--r-- | pkg/vminfo/features.go | 3 | ||||
| -rw-r--r-- | pkg/vminfo/syscalls.go | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/pkg/vminfo/features.go b/pkg/vminfo/features.go index 905fc630f..150b658fc 100644 --- a/pkg/vminfo/features.go +++ b/pkg/vminfo/features.go @@ -9,7 +9,6 @@ import ( "github.com/google/syzkaller/pkg/flatrpc" "github.com/google/syzkaller/pkg/fuzzer/queue" - "github.com/google/syzkaller/pkg/ipc" "github.com/google/syzkaller/prog" ) @@ -56,7 +55,7 @@ func (ctx *checkContext) startFeaturesCheck() { Prog: testProg, ReturnOutput: true, ReturnError: true, - ExecOpts: ipc.ExecOpts{ + ExecOpts: flatrpc.ExecOpts{ EnvFlags: envFlags, ExecFlags: execFlags, SandboxArg: ctx.cfg.SandboxArg, diff --git a/pkg/vminfo/syscalls.go b/pkg/vminfo/syscalls.go index 23c9504e2..8a533227b 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: flatrpc.ExecOpts{ EnvFlags: sandbox, ExecFlags: 0, SandboxArg: ctx.cfg.SandboxArg, |
