aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/shim.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-05 02:47:43 +0900
committerOphestra <cat@gensokyo.uk>2025-11-05 02:47:43 +0900
commitc1399f5030abde76728ba7982a7a22fd49e75359 (patch)
tree06e2a2ce11dbd7536150fd57824e406f101d50d9 /internal/outcome/shim.go
parent9ac63aac0cb025d1de195dbc57d0c89ebd1d7cc5 (diff)
std: rename from comp
Seccomp lookup tables are going to be relocated here, and PNR constants. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome/shim.go')
-rw-r--r--internal/outcome/shim.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/outcome/shim.go b/internal/outcome/shim.go
index 48ff756f..bde79be3 100644
--- a/internal/outcome/shim.go
+++ b/internal/outcome/shim.go
@@ -14,8 +14,8 @@ import (
"time"
"hakurei.app/container"
- "hakurei.app/container/comp"
"hakurei.app/container/seccomp"
+ "hakurei.app/container/std"
"hakurei.app/hst"
"hakurei.app/message"
)
@@ -233,7 +233,7 @@ func shimEntrypoint(k syscallDispatcher) {
}
if err := k.seccompLoad(
- seccomp.Preset(comp.PresetStrict, seccomp.AllowMultiarch),
+ seccomp.Preset(std.PresetStrict, seccomp.AllowMultiarch),
seccomp.AllowMultiarch,
); err != nil {
k.fatalf("cannot load syscall filter: %v", err)