From a3aadd4146c0249b41e11691c2930b3ef3c321ba Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Thu, 10 Oct 2024 14:33:58 +0900 Subject: 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 --- internal/app/share.display.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/share.display.go') 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) } } -- cgit v1.3.1