Merge branch 'main' of github.com:roddhjav/apparmor.d

* 'main' of github.com:roddhjav/apparmor.d:
  fix: signal-desktop (#195)
This commit is contained in:
Alexandre Pujol 2023-08-17 18:35:50 +01:00
commit 5911c43930
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -10,7 +10,7 @@ include <tunables/global>
#@{exec_path} = @{SIGNAL_INSTALLDIR}/signal-desktop{,-beta} # (#FIXME#) #@{exec_path} = @{SIGNAL_INSTALLDIR}/signal-desktop{,-beta} # (#FIXME#)
@{exec_path} = "/opt/Signal{, Beta}/signal-desktop{,-beta}" # (#FIXME#) @{exec_path} = "/opt/Signal{, Beta}/signal-desktop{,-beta}" # (#FIXME#)
profile signal-desktop @{exec_path} { profile signal-desktop @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/consoles> include <abstractions/consoles>
include <abstractions/opencl-intel> include <abstractions/opencl-intel>
@ -75,6 +75,9 @@ profile signal-desktop @{exec_path} {
/var/lib/dbus/machine-id r, /var/lib/dbus/machine-id r,
/etc/machine-id r, /etc/machine-id r,
# Allow systemd-inhibit
@{run}/systemd/inhibit/*.ref rw,
# No new privs # No new privs
@{bin}/xdg-settings rPx, @{bin}/xdg-settings rPx,