diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-18 18:47:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-18 18:47:48 +0900 |
| commit | e0f321b2c4eafba27a93fce93f444b62822c74db (patch) | |
| tree | 95a9517462a53902b71ecbfa8b0ec5d50c080195 /internal/app/app.go | |
| parent | 2c9c7fee5b42d8f32be9ff55ad92345ae62c0af7 (diff) | |
sys: rename from linux
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/app.go')
| -rw-r--r-- | internal/app/app.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/app/app.go b/internal/app/app.go index 20966b78..2a96c544 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -6,7 +6,7 @@ import ( "git.gensokyo.uk/security/fortify/fst" "git.gensokyo.uk/security/fortify/internal/app/shim" - "git.gensokyo.uk/security/fortify/internal/linux" + "git.gensokyo.uk/security/fortify/internal/sys" ) type App interface { @@ -32,7 +32,7 @@ type app struct { // application unique identifier id *fst.ID // operating system interface - os linux.System + os sys.State // shim process manager shim *shim.Shim // child process related information @@ -64,7 +64,7 @@ func (a *app) String() string { return "(unsealed fortified app)" } -func New(os linux.System) (App, error) { +func New(os sys.State) (App, error) { a := new(app) a.id = new(fst.ID) a.os = os |
