diff options
Diffstat (limited to 'internal/app/shim.go')
| -rw-r--r-- | internal/app/shim.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/app/shim.go b/internal/app/shim.go index 4927f5c5..3a8a5514 100644 --- a/internal/app/shim.go +++ b/internal/app/shim.go @@ -14,6 +14,7 @@ import ( "time" "hakurei.app/container" + "hakurei.app/container/bits" "hakurei.app/container/seccomp" "hakurei.app/hst" ) @@ -150,7 +151,7 @@ func ShimMain() { } if err := seccomp.Load( - seccomp.Preset(seccomp.PresetStrict, seccomp.AllowMultiarch), + seccomp.Preset(bits.PresetStrict, seccomp.AllowMultiarch), seccomp.AllowMultiarch, ); err != nil { log.Fatalf("cannot load syscall filter: %v", err) |
