diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-10-10 14:33:58 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-10-10 14:33:58 +0900 |
| commit | a3aadd4146c0249b41e11691c2930b3ef3c321ba (patch) | |
| tree | 8805b3c0e971f47a8f144d8f28b22f71580bade2 /internal/app/share.display.go | |
| parent | 86cb5ac1dbd581078b10f5ec1eb723549c662a1b (diff) | |
app: tag ACL operations for revert
ACL operations are now tagged with the enablement causing them. At the end of child process's life, enablements of all remaining launchers are resolved and inverted. This allows Wait to only revert operations targeting resources no longer required by other launchers.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/share.display.go')
| -rw-r--r-- | internal/app/share.display.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/share.display.go b/internal/app/share.display.go index 9dbb6c3f..51ac54d3 100644 --- a/internal/app/share.display.go +++ b/internal/app/share.display.go @@ -42,7 +42,7 @@ func (seal *appSeal) shareDisplay() error { seal.appendEnv(waylandDisplay, wpi) // ensure Wayland socket ACL (e.g. `/run/user/%d/wayland-%d`) - seal.sys.updatePerm(wp, acl.Read, acl.Write, acl.Execute) + seal.sys.updatePermTag(state.EnableWayland, wp, acl.Read, acl.Write, acl.Execute) } } |
