aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vminfo/syscalls.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vminfo/syscalls.go')
-rw-r--r--pkg/vminfo/syscalls.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/vminfo/syscalls.go b/pkg/vminfo/syscalls.go
index 1e9714c9b..f6ab24a04 100644
--- a/pkg/vminfo/syscalls.go
+++ b/pkg/vminfo/syscalls.go
@@ -33,7 +33,7 @@ type checkContext struct {
impl checker
cfg *mgrconfig.Config
target *prog.Target
- sandbox ipc.EnvFlags
+ sandbox flatrpc.ExecEnv
executor queue.Executor
fs filesystem
// Once checking of a syscall is finished, the result is sent to syscalls.
@@ -222,7 +222,7 @@ func (ctx *checkContext) onlySandboxNone() string {
}
func (ctx *checkContext) onlySandboxNoneOrNamespace() string {
- if ctx.sandbox != 0 && ctx.sandbox != ipc.FlagSandboxNamespace {
+ if ctx.sandbox != 0 && ctx.sandbox != flatrpc.ExecEnvSandboxNamespace {
return "only supported under root with sandbox=none/namespace"
}
return ""