chore(profile): add abi and local include when missing.

This commit is contained in:
Alexandre Pujol 2024-10-06 15:57:47 +01:00
parent 105a9b4def
commit 7ccaab8234
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
61 changed files with 84 additions and 28 deletions

View file

@ -55,7 +55,7 @@ profile journalctl @{exec_path} flags=(attach_disconnected) {
deny network inet stream,
deny network inet6 stream,
include if exists <local/systemd-journalctl>
include if exists <local/journalctl>
}
# vim:syntax=apparmor

View file

@ -50,7 +50,7 @@ profile systemd-resolved @{exec_path} flags=(attach_disconnected) {
@{PROC}/sys/kernel/hostname r,
@{PROC}/sys/net/ipv{4,6}/conf/all/disable_ipv{4,6} r,
include if exists <local/systemd-timesyncd>
include if exists <local/systemd-resolved>
}
# vim:syntax=apparmor