Fix suppport for Qt5CT and Qt6CT in profiles-g-l

This fix support for this profiles

*kanyremote
*keepassxc
*linssid
This commit is contained in:
Jose Maldonado aka Yukiteru 2024-04-25 22:50:34 -04:00 committed by Alex
parent 5c35b1d69c
commit 917a754206
3 changed files with 3 additions and 8 deletions

View File

@ -21,6 +21,7 @@ profile kanyremote @{exec_path} {
include <abstractions/python> include <abstractions/python>
include <abstractions/dri-enumerate> include <abstractions/dri-enumerate>
include <abstractions/mesa> include <abstractions/mesa>
include <abstractions/qt5>
include <abstractions/qt5-compose-cache-write> include <abstractions/qt5-compose-cache-write>
include <abstractions/qt5-settings-write> include <abstractions/qt5-settings-write>
@ -60,9 +61,6 @@ profile kanyremote @{exec_path} {
owner @{HOME}/ r, owner @{HOME}/ r,
owner @{HOME}/.anyRemote/{,*} rw, owner @{HOME}/.anyRemote/{,*} rw,
owner @{user_config_dirs}/qt5ct/{,**} r,
/usr/share/qt5ct/** r,
/usr/share/anyremote/{,**} r, /usr/share/anyremote/{,**} r,
deny owner @{PROC}/@{pid}/cmdline r, deny owner @{PROC}/@{pid}/cmdline r,

View File

@ -18,6 +18,7 @@ profile keepassxc @{exec_path} {
include <abstractions/fontconfig-cache-read> include <abstractions/fontconfig-cache-read>
include <abstractions/graphics> include <abstractions/graphics>
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
include <abstractions/qt5>
include <abstractions/qt5-compose-cache-write> include <abstractions/qt5-compose-cache-write>
include <abstractions/qt5-settings-write> include <abstractions/qt5-settings-write>
include <abstractions/ssl_certs> include <abstractions/ssl_certs>
@ -39,7 +40,6 @@ profile keepassxc @{exec_path} {
/usr/share/hwdata/pnp.ids r, /usr/share/hwdata/pnp.ids r,
/usr/share/keepassxc/{,**} r, /usr/share/keepassxc/{,**} r,
/usr/share/qt*/{,**} r,
/etc/fstab r, /etc/fstab r,
/etc/machine-id 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}/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}/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}/google-chrome{,-beta,-unstable}/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json rw,
owner @{user_config_dirs}/qt5ct/{,**} r,
owner @{user_config_dirs}/{,kdedefaults/}kdeglobals r, owner @{user_config_dirs}/{,kdedefaults/}kdeglobals r,
# Database locations # Database locations

View File

@ -18,6 +18,7 @@ profile linssid @{exec_path} {
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
include <abstractions/dri-enumerate> include <abstractions/dri-enumerate>
include <abstractions/mesa> include <abstractions/mesa>
include <abstractions/qt5>
# For reading/saving config/log files when linssid is started via pkexec # For reading/saving config/log files when linssid is started via pkexec
#capability dac_read_search, #capability dac_read_search,
@ -57,9 +58,6 @@ profile linssid @{exec_path} {
/usr/share/hwdata/pnp.ids r, /usr/share/hwdata/pnp.ids r,
owner @{user_config_dirs}/qt5ct/{,**} r,
/usr/share/qt5ct/** r,
owner @{PROC}/@{pid}/fd/ r, owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/net/wireless r, owner @{PROC}/@{pid}/net/wireless r,
owner @{PROC}/@{pid}/cmdline r, owner @{PROC}/@{pid}/cmdline r,