From 24618ab9a1524e8b8986a9bf67667288e642fcf1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 17 Mar 2025 02:55:36 +0900 Subject: sandbox: move out of internal Signed-off-by: Ophestra --- helper/bwrap/config_test.go | 2 +- helper/bwrap/seccomp.go | 2 +- helper/container.go | 2 +- helper/container_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'helper') diff --git a/helper/bwrap/config_test.go b/helper/bwrap/config_test.go index 7e78c8fb..720ef404 100644 --- a/helper/bwrap/config_test.go +++ b/helper/bwrap/config_test.go @@ -7,7 +7,7 @@ import ( "git.gensokyo.uk/security/fortify/helper/bwrap" "git.gensokyo.uk/security/fortify/helper/proc" - "git.gensokyo.uk/security/fortify/seccomp" + "git.gensokyo.uk/security/fortify/sandbox/seccomp" ) func TestConfig_Args(t *testing.T) { diff --git a/helper/bwrap/seccomp.go b/helper/bwrap/seccomp.go index f5132be3..22532038 100644 --- a/helper/bwrap/seccomp.go +++ b/helper/bwrap/seccomp.go @@ -5,7 +5,7 @@ import ( "strconv" "git.gensokyo.uk/security/fortify/helper/proc" - "git.gensokyo.uk/security/fortify/seccomp" + "git.gensokyo.uk/security/fortify/sandbox/seccomp" ) type SyscallPolicy struct { diff --git a/helper/container.go b/helper/container.go index 4eb57c3b..33ab1e3a 100644 --- a/helper/container.go +++ b/helper/container.go @@ -9,7 +9,7 @@ import ( "sync" "git.gensokyo.uk/security/fortify/helper/proc" - "git.gensokyo.uk/security/fortify/internal/sandbox" + "git.gensokyo.uk/security/fortify/sandbox" ) // New initialises a Helper instance with wt as the null-terminated argument writer. diff --git a/helper/container_test.go b/helper/container_test.go index cb145bf8..886cbf47 100644 --- a/helper/container_test.go +++ b/helper/container_test.go @@ -10,7 +10,7 @@ import ( "git.gensokyo.uk/security/fortify/helper" "git.gensokyo.uk/security/fortify/internal" "git.gensokyo.uk/security/fortify/internal/fmsg" - "git.gensokyo.uk/security/fortify/internal/sandbox" + "git.gensokyo.uk/security/fortify/sandbox" ) func TestContainer(t *testing.T) { -- cgit v1.3.1