app: rename app implementation package
All checks were successful
Test / Create distribution (push) Successful in 26s
Test / Sandbox (push) Successful in 1m48s
Test / Fortify (push) Successful in 2m36s
Test / Sandbox (race detector) (push) Successful in 2m52s
Test / Fpkg (push) Successful in 3m32s
Test / Fortify (race detector) (push) Successful in 4m9s
Test / Flake checks (push) Successful in 1m4s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-04-12 10:54:24 +09:00
parent ae6f5ede19
commit 0d7c1a9a43
14 changed files with 23 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
package app
package setuid
import (
"context"

View File

@@ -1,4 +1,4 @@
package app_test
package setuid_test
import (
"git.gensokyo.uk/security/fortify/acl"

View File

@@ -1,4 +1,4 @@
package app_test
package setuid_test
import (
"os"

View File

@@ -1,4 +1,4 @@
package app_test
package setuid_test
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package app_test
package setuid_test
import (
"encoding/json"
@@ -8,7 +8,7 @@ import (
"time"
"git.gensokyo.uk/security/fortify/fst"
"git.gensokyo.uk/security/fortify/internal/app"
"git.gensokyo.uk/security/fortify/internal/app/setuid"
"git.gensokyo.uk/security/fortify/internal/sys"
"git.gensokyo.uk/security/fortify/sandbox"
"git.gensokyo.uk/security/fortify/system"
@@ -28,7 +28,7 @@ func TestApp(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
a := app.NewWithID(tc.id, tc.os)
a := setuid.NewWithID(tc.id, tc.os)
var (
gotSys *system.I
gotContainer *sandbox.Params
@@ -38,7 +38,7 @@ func TestApp(t *testing.T) {
t.Errorf("Seal: error = %v", err)
return
} else {
gotSys, gotContainer = app.AppIParams(a, sa)
gotSys, gotContainer = setuid.AppIParams(a, sa)
}
}) {
return

View File

@@ -1,4 +1,4 @@
package app
package setuid
import (
"errors"

View File

@@ -1,4 +1,4 @@
package app
package setuid
import (
"git.gensokyo.uk/security/fortify/fst"

View File

@@ -1,4 +1,4 @@
package app
package setuid
import (
"context"

View File

@@ -1,4 +1,4 @@
package app
package setuid
import (
"bytes"

View File

@@ -1,4 +1,4 @@
package app
package setuid
import (
"context"

View File

@@ -1,4 +1,4 @@
package app
package setuid
import (
"strconv"