From 648e1d641a8b0ae7c5bc4899f84b884d4335c97f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 18 Feb 2025 23:05:37 +0900 Subject: app: separate interface from implementation Signed-off-by: Ophestra --- fst/sandbox.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fst') diff --git a/fst/sandbox.go b/fst/sandbox.go index 5295f95e..27df5f9a 100644 --- a/fst/sandbox.go +++ b/fst/sandbox.go @@ -8,7 +8,6 @@ import ( "git.gensokyo.uk/security/fortify/dbus" "git.gensokyo.uk/security/fortify/helper/bwrap" - "git.gensokyo.uk/security/fortify/internal/sys" ) // SandboxConfig describes resources made available to the sandbox. @@ -47,7 +46,7 @@ type SandboxConfig struct { // SandboxSys encapsulates system functions used during the creation of [bwrap.Config]. type SandboxSys interface { Geteuid() int - Paths() sys.Paths + Paths() Paths ReadDir(name string) ([]fs.DirEntry, error) EvalSymlinks(path string) (string, error) -- cgit v1.3.1