aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/seal.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-12-19 21:36:17 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-12-19 21:36:17 +0900
commiteae3034260b3abbb8da1deeddfef135b36eeb390 (patch)
treea3dbc5d679a1137018ccec0886c68853e679b7bb /internal/app/seal.go
parent5ea7333431942780c79c02a990682e44b6834ed6 (diff)
state: expose aids and use instance id as key
Fortify state store instances was specific to aids due to outdated design decisions carried over from the ego rewrite. That no longer makes sense in the current application, so the interface now enables a single store object to manage all transient state. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/seal.go')
-rw-r--r--internal/app/seal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/seal.go b/internal/app/seal.go
index d71553a2..3c49584a 100644
--- a/internal/app/seal.go
+++ b/internal/app/seal.go
@@ -218,7 +218,7 @@ func (a *app) Seal(config *fst.Config) error {
// open process state store
// the simple store only starts holding an open file after first action
// store activity begins after Start is called and must end before Wait
- seal.store = state.NewSimple(seal.RunDirPath, seal.sys.user.as)
+ seal.store = state.NewMulti(seal.RunDirPath)
// initialise system interface with full uid
seal.sys.I = system.New(seal.sys.user.uid)