From f0cff2989d1e3363e7e704e69197c621110ed789 Mon Sep 17 00:00:00 2001 From: fira959 Date: Wed, 12 Jun 2024 12:13:34 +0200 Subject: [PATCH 1/2] Update signal-desktop --- apparmor.d/groups/apps/signal-desktop | 1 + 1 file changed, 1 insertion(+) diff --git a/apparmor.d/groups/apps/signal-desktop b/apparmor.d/groups/apps/signal-desktop index d3165a54..6048857e 100644 --- a/apparmor.d/groups/apps/signal-desktop +++ b/apparmor.d/groups/apps/signal-desktop @@ -43,6 +43,7 @@ profile signal-desktop @{exec_path} { @{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/memory.high r, @{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/memory.max r, + @{PROC}/@{pid}/fd/ r, @{PROC}/vmstat r, include if exists From 2eab87da2f82da42a6969682a3abb18f05eb9449 Mon Sep 17 00:00:00 2001 From: fira959 Date: Wed, 12 Jun 2024 12:15:34 +0200 Subject: [PATCH 2/2] Update signal-desktop-chrome-sandbox --- apparmor.d/groups/apps/signal-desktop-chrome-sandbox | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apparmor.d/groups/apps/signal-desktop-chrome-sandbox b/apparmor.d/groups/apps/signal-desktop-chrome-sandbox index 4f6bf976..3de0c2f3 100644 --- a/apparmor.d/groups/apps/signal-desktop-chrome-sandbox +++ b/apparmor.d/groups/apps/signal-desktop-chrome-sandbox @@ -22,6 +22,8 @@ profile signal-desktop-chrome-sandbox @{exec_path} { @{lib_dirs}/signal-desktop{,-beta} rPx, @{PROC}/@{pid}/ r, + @{PROC}/@{pid}/oom_adj w, + @{PROC}/@{pid}/oom_score_adj w, include if exists }