aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/system.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/system.go')
-rw-r--r--internal/app/system.go17
1 files changed, 5 insertions, 12 deletions
diff --git a/internal/app/system.go b/internal/app/system.go
index ccc5293f..3a92b0fd 100644
--- a/internal/app/system.go
+++ b/internal/app/system.go
@@ -21,9 +21,7 @@ type appSealSys struct {
user appUser
// mapped uid and gid in user namespace
- mappedID int
- // string representation of mappedID
- mappedIDString string
+ mapuid *stringPair[int]
needRevert bool
saveState bool
@@ -33,19 +31,14 @@ type appSealSys struct {
}
type appUser struct {
- // full uid resolved by fsu
- uid int
- // string representation of uid
- us string
+ // application id
+ aid *stringPair[int]
+ // target uid resolved by fid:aid
+ uid *stringPair[int]
// supplementary group ids
supp []string
- // application id
- aid int
- // string representation of aid
- as string
-
// home directory host path
data string
// app user home directory