aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/container.go')
-rw-r--r--container/container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/container/container.go b/container/container.go
index 86fd7ce3..f9e7cf12 100644
--- a/container/container.go
+++ b/container/container.go
@@ -85,7 +85,7 @@ type (
*Ops
// Seccomp system call filter rules.
- SeccompRules []seccomp.NativeRule
+ SeccompRules []std.NativeRule
// Extra seccomp flags.
SeccompFlags seccomp.ExportFlag
// Seccomp presets. Has no effect unless SeccompRules is zero-length.
@@ -327,7 +327,7 @@ func (p *Container) Serve() error {
p.Dir = fhs.AbsRoot
}
if p.SeccompRules == nil {
- p.SeccompRules = make([]seccomp.NativeRule, 0)
+ p.SeccompRules = make([]std.NativeRule, 0)
}
err := gob.NewEncoder(setup).Encode(&initParams{