sys: rename from linux
All checks were successful
Test / Create distribution (push) Successful in 26s
Test / Run NixOS test (push) Successful in 3m28s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-18 18:47:48 +09:00
parent 2c9c7fee5b
commit e0f321b2c4
12 changed files with 30 additions and 30 deletions

View File

@@ -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