From 9ce4706a0766880c072cccd2643d66f614a6a16b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 17 Mar 2025 02:48:32 +0900 Subject: sandbox: move params setup functions Signed-off-by: Ophestra --- internal/sandbox/container.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/sandbox/container.go') diff --git a/internal/sandbox/container.go b/internal/sandbox/container.go index f243ffd9..afbcc4fd 100644 --- a/internal/sandbox/container.go +++ b/internal/sandbox/container.go @@ -13,7 +13,6 @@ import ( "syscall" "time" - "git.gensokyo.uk/security/fortify/helper/proc" "git.gensokyo.uk/security/fortify/seccomp" ) @@ -163,7 +162,7 @@ func (p *Container) Start() error { } // place setup pipe before user supplied extra files, this is later restored by init - if fd, e, err := proc.Setup(&p.cmd.ExtraFiles); err != nil { + if fd, e, err := Setup(&p.cmd.ExtraFiles); err != nil { return wrapErrSuffix(err, "cannot create shim setup pipe:") } else { -- cgit v1.3.1