From c482234b647837bb3db27dad4477c4a234fe6a8c Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 5 Apr 2024 12:03:54 +0100 Subject: [PATCH] fix(profile): ensure integration with kde on firefox. See #310 --- apparmor.d/groups/browsers/firefox | 1 + apparmor.d/groups/kde/plasma-browser-integration-host | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apparmor.d/groups/browsers/firefox b/apparmor.d/groups/browsers/firefox index 00e11da2..d3521ac0 100644 --- a/apparmor.d/groups/browsers/firefox +++ b/apparmor.d/groups/browsers/firefox @@ -96,6 +96,7 @@ profile firefox @{exec_path} flags=(attach_disconnected) { @{bin}/gnome-software rPx, @{bin}/kreadconfig5 rix, @{bin}/lsb_release rPx -> lsb_release, + @{bin}/plasma-browser-integration-host rPx, @{bin}/update-mime-database rPx, @{lib}/gvfsd-metadata rPx, @{open_path} rPx -> child-open, diff --git a/apparmor.d/groups/kde/plasma-browser-integration-host b/apparmor.d/groups/kde/plasma-browser-integration-host index bc9b942e..a9be8644 100644 --- a/apparmor.d/groups/kde/plasma-browser-integration-host +++ b/apparmor.d/groups/kde/plasma-browser-integration-host @@ -17,7 +17,7 @@ profile plasma-browser-integration-host @{exec_path} { capability sys_ptrace, - ptrace (read) peer={chromium,brave,chrome,opera}, + ptrace (read) peer={chromium,brave,chrome,opera,firefox}, @{exec_path} mr,