From 917a7542068cd4b977ec7ae637b35f1ec9450e3f Mon Sep 17 00:00:00 2001 From: Jose Maldonado aka Yukiteru Date: Thu, 25 Apr 2024 22:50:34 -0400 Subject: [PATCH] Fix suppport for Qt5CT and Qt6CT in profiles-g-l This fix support for this profiles *kanyremote *keepassxc *linssid --- apparmor.d/profiles-g-l/kanyremote | 4 +--- apparmor.d/profiles-g-l/keepassxc | 3 +-- apparmor.d/profiles-g-l/linssid | 4 +--- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/apparmor.d/profiles-g-l/kanyremote b/apparmor.d/profiles-g-l/kanyremote index 73a73d63..882f504b 100644 --- a/apparmor.d/profiles-g-l/kanyremote +++ b/apparmor.d/profiles-g-l/kanyremote @@ -21,6 +21,7 @@ profile kanyremote @{exec_path} { include include include + include include include @@ -60,9 +61,6 @@ profile kanyremote @{exec_path} { owner @{HOME}/ r, owner @{HOME}/.anyRemote/{,*} rw, - owner @{user_config_dirs}/qt5ct/{,**} r, - /usr/share/qt5ct/** r, - /usr/share/anyremote/{,**} r, deny owner @{PROC}/@{pid}/cmdline r, diff --git a/apparmor.d/profiles-g-l/keepassxc b/apparmor.d/profiles-g-l/keepassxc index d8063718..f07cc0ad 100644 --- a/apparmor.d/profiles-g-l/keepassxc +++ b/apparmor.d/profiles-g-l/keepassxc @@ -18,6 +18,7 @@ profile keepassxc @{exec_path} { include include include + include include include include @@ -39,7 +40,6 @@ profile keepassxc @{exec_path} { /usr/share/hwdata/pnp.ids r, /usr/share/keepassxc/{,**} r, - /usr/share/qt*/{,**} r, /etc/fstab r, /etc/machine-id r, @@ -58,7 +58,6 @@ profile keepassxc @{exec_path} { owner @{user_config_dirs}/BraveSoftware/Brave-Browser{,-Beta,-Dev}/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json rw, owner @{user_config_dirs}/chromium/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json rw, owner @{user_config_dirs}/google-chrome{,-beta,-unstable}/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json rw, - owner @{user_config_dirs}/qt5ct/{,**} r, owner @{user_config_dirs}/{,kdedefaults/}kdeglobals r, # Database locations diff --git a/apparmor.d/profiles-g-l/linssid b/apparmor.d/profiles-g-l/linssid index 8087045c..047faa5a 100644 --- a/apparmor.d/profiles-g-l/linssid +++ b/apparmor.d/profiles-g-l/linssid @@ -18,6 +18,7 @@ profile linssid @{exec_path} { include include include + include # For reading/saving config/log files when linssid is started via pkexec #capability dac_read_search, @@ -57,9 +58,6 @@ profile linssid @{exec_path} { /usr/share/hwdata/pnp.ids r, - owner @{user_config_dirs}/qt5ct/{,**} r, - /usr/share/qt5ct/** r, - owner @{PROC}/@{pid}/fd/ r, owner @{PROC}/@{pid}/net/wireless r, owner @{PROC}/@{pid}/cmdline r,