diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-21 20:54:03 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-21 20:54:03 +0900 |
| commit | e94acc424c5746eb6cf903ed97b4e71223fda50f (patch) | |
| tree | c55f4b467ed11149006a799421936845bf64de99 /internal/app/shim.go | |
| parent | b1a4d801be033b41c559e9642ee05e2f0ec43d5b (diff) | |
container/comp: rename from bits
This package will also hold syscall lookup tables for seccomp.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/shim.go')
| -rw-r--r-- | internal/app/shim.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/shim.go b/internal/app/shim.go index 6be45746..9f85a202 100644 --- a/internal/app/shim.go +++ b/internal/app/shim.go @@ -14,7 +14,7 @@ import ( "time" "hakurei.app/container" - "hakurei.app/container/bits" + "hakurei.app/container/comp" "hakurei.app/container/seccomp" "hakurei.app/hst" "hakurei.app/message" @@ -176,7 +176,7 @@ func ShimMain() { } if err := seccomp.Load( - seccomp.Preset(bits.PresetStrict, seccomp.AllowMultiarch), + seccomp.Preset(comp.PresetStrict, seccomp.AllowMultiarch), seccomp.AllowMultiarch, ); err != nil { log.Fatalf("cannot load syscall filter: %v", err) |
