mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-22 09:55:36 +01:00
Update protonmail
This commit is contained in:
parent
9400e5fd00
commit
8cc986ab92
1 changed files with 4 additions and 8 deletions
|
@ -6,14 +6,16 @@ abi <abi/3.0>,
|
||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{name} = "Proton Mail"
|
@{name} = proton-mail "Proton Mail"
|
||||||
@{lib_dirs} = /opt/@{name}
|
@{lib_dirs} = /opt/@{name}
|
||||||
@{config_dirs} = @{user_config_dirs}/@{name}
|
@{config_dirs} = @{user_config_dirs}/@{name}
|
||||||
@{cache_dirs} = @{user_cache_dirs}/@{name}
|
@{cache_dirs} = @{user_cache_dirs}/@{name}
|
||||||
|
|
||||||
@{exec_path} = "/opt/proton-mail/Proton Mail{, Beta}"
|
@{exec_path} = @{bin}/proton-mail /opt/proton-mail/Proton*
|
||||||
profile protonmail @{exec_path} flags=(complain) {
|
profile protonmail @{exec_path} flags=(complain) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/bus-session>
|
||||||
|
include <abstractions/bus/org.freedesktop.secrets>
|
||||||
include <abstractions/common/electron>
|
include <abstractions/common/electron>
|
||||||
|
|
||||||
network inet stream,
|
network inet stream,
|
||||||
|
@ -25,15 +27,9 @@ profile protonmail @{exec_path} flags=(complain) {
|
||||||
|
|
||||||
@{exec_path} mrix,
|
@{exec_path} mrix,
|
||||||
|
|
||||||
/opt/proton-mail/** r,
|
|
||||||
/opt/proton-mail/*.so m,
|
|
||||||
/opt/proton-mail/libvulkan.so.1 m,
|
|
||||||
|
|
||||||
@{bin}/xdg-settings Px,
|
@{bin}/xdg-settings Px,
|
||||||
@{open_path} rpx -> child-open,
|
@{open_path} rpx -> child-open,
|
||||||
|
|
||||||
/etc/machine-id r,
|
|
||||||
|
|
||||||
owner @{user_config_dirs}/ibus/bus/ r,
|
owner @{user_config_dirs}/ibus/bus/ r,
|
||||||
|
|
||||||
@{sys}/devices/@{pci}/boot_vga r,
|
@{sys}/devices/@{pci}/boot_vga r,
|
||||||
|
|
Loading…
Add table
Reference in a new issue