mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
fix: signal-desktop (#195)
issue: https://github.com/roddhjav/apparmor.d/issues/194
This commit is contained in:
parent
a2c35b07a5
commit
b49bd32564
@ -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,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user