diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-18 23:05:37 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-18 23:07:28 +0900 |
| commit | 648e1d641a8b0ae7c5bc4899f84b884d4335c97f (patch) | |
| tree | fdb45d1fedb60487c22a1fceb9d87ba883f03779 /fst | |
| parent | 3c327084d387b316795f45420e8d0c6f9ce71ffe (diff) | |
app: separate interface from implementation
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'fst')
| -rw-r--r-- | fst/sandbox.go | 3 |
1 files changed, 1 insertions, 2 deletions
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) |
