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

@ -94,7 +94,7 @@ profile gpartedbin @{exec_path} {
@{bin}/mount mr,
include if exists <local/gpartedbin_umount>
include if exists <local/gpartedbin_mount>
}
profile umount {

View file

@ -67,6 +67,7 @@ profile i3lock-fancy @{exec_path} {
# file_inherit
owner /dev/tty@{int} rw,
include if exists <local/i3lock-fancy_imagemagic>
}
include if exists <local/i3lock-fancy>

View file

@ -92,6 +92,7 @@ profile ifup @{exec_path} {
/etc/network/if-up.d/openvpn rPUx,
/etc/network/if-up.d/wpasupplicant rPUx,
include if exists <local/ifup_run-parts>
}
profile kmod {

View file

@ -25,7 +25,7 @@ profile imv @{exec_path} {
owner @{run}/user/@{uid}/imv-*.sock w,
include if exists <local/imv-wayland>
include if exists <local/imv>
}
# vim:syntax=apparmor

View file

@ -48,6 +48,7 @@ profile initd-kexec-load @{exec_path} {
/etc/default/kexec.d/ r,
include if exists <local/initd-kexec-load_run-parts>
}
profile systemctl {
@ -74,6 +75,7 @@ profile initd-kexec-load @{exec_path} {
owner @{run}/systemd/ask-password/ rw,
owner @{run}/systemd/ask-password-block/* rw,
include if exists <local/initd-kexec-load_systemctl>
}
include if exists <local/initd-kexec-load>

View file

@ -58,6 +58,7 @@ profile jmtpfs @{exec_path} {
@{PROC}/@{pid}/mounts r,
include if exists <local/jmtpfs_fusermount>
}
include if exists <local/jmtpfs>

View file

@ -46,6 +46,7 @@ profile linux-check-removal @{exec_path} flags=(complain) {
owner /var/cache/debconf/{config,passwords,templates}.dat{,-new,-old} rwk,
/usr/share/debconf/templates/adequate.templates r,
include if exists <local/linux-check-removal_frontend>
}
include if exists <local/linux-check-removal>