aboutsummaryrefslogtreecommitdiffhomepage
path: root/ldd/exec.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-07-02 21:23:55 +0900
committerOphestra <cat@gensokyo.uk>2025-07-02 21:23:55 +0900
commita1d98823f8d17b49b432508d071b62ccd426f1ce (patch)
treecacbe2d42f9ff3fd49b455e849770840e34d076a /ldd/exec.go
parent255b77d91dc40736b7bbd7d96b22500076b098e5 (diff)
hakurei: move container toplevel
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'ldd/exec.go')
-rw-r--r--ldd/exec.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldd/exec.go b/ldd/exec.go
index dbbe2055..ec38f681 100644
--- a/ldd/exec.go
+++ b/ldd/exec.go
@@ -8,7 +8,7 @@ import (
"os/exec"
"time"
- "git.gensokyo.uk/security/hakurei/sandbox"
+ "git.gensokyo.uk/security/hakurei"
"git.gensokyo.uk/security/hakurei/sandbox/seccomp"
)
@@ -27,7 +27,7 @@ func ExecFilter(ctx context.Context,
p string) ([]*Entry, error) {
c, cancel := context.WithTimeout(ctx, lddTimeout)
defer cancel()
- container := sandbox.New(c, "ldd", p)
+ container := hakurei.New(c, "ldd", p)
container.CommandContext = commandContext
container.Hostname = "hakurei-ldd"
container.SeccompFlags |= seccomp.AllowMultiarch