aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/outcome.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-10 19:48:37 +0900
committerOphestra <cat@gensokyo.uk>2025-10-10 19:56:30 +0900
commitf6dd9dab6a91c8c39ea2a5afbca50e427e6a21ba (patch)
treea3318b15c1b4c4c5cf1571a90c562687bebe5ff7 /internal/app/outcome.go
parent776650af01d56d1c38861420de7f4a077f0a61f8 (diff)
internal/app: hold path hiding in op
This makes no sense to be part of the global state. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/outcome.go')
-rw-r--r--internal/app/outcome.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/internal/app/outcome.go b/internal/app/outcome.go
index 0999ae91..4d2cd713 100644
--- a/internal/app/outcome.go
+++ b/internal/app/outcome.go
@@ -57,9 +57,6 @@ type outcomeState struct {
sc hst.Paths
*EnvPaths
- // Matched paths to cover. Populated by spFilesystemOp.
- HidePaths []*check.Absolute
-
// Copied via populateLocal.
k syscallDispatcher
// Copied via populateLocal.
@@ -154,7 +151,7 @@ type outcomeStateSys struct {
directWayland bool
// Copied header from [hst.Config]. Safe for read by spFinalOp.toSystem only.
extraPerms []*hst.ExtraPermConfig
- // Copied address from [hst.Config. Safe for read by spDBusOp.toSystem only.
+ // Copied address from [hst.Config]. Safe for read by spDBusOp.toSystem only.
sessionBus, systemBus *hst.BusConfig
sys *system.I
@@ -255,7 +252,7 @@ func (state *outcomeStateSys) toSystem() error {
&spParamsOp{},
// TODO(ophestra): move this late for #8 and #9
- spFilesystemOp{},
+ &spFilesystemOp{},
spRuntimeOp{},
spTmpdirOp{},