feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-03-03 12:20:10 +00:00
parent 0b0d58ab03
commit 3ff8e3847d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
37 changed files with 95 additions and 61 deletions

View file

@ -21,9 +21,7 @@ profile aa-log @{exec_path} {
/var/log/audit/* r,
/{run,var}/log/journal/ r,
/{run,var}/log/journal/@{hex}/ r,
/{run,var}/log/journal/@{hex}/system*.journal r,
/{run,var}/log/journal/@{hex}/user*.journal r,
/{run,var}/log/journal/@{hex}/{,*} r,
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,

View file

@ -117,10 +117,14 @@ profile dkms @{exec_path} flags=(attach_disconnected) {
/etc/depmod.d/{,*} r,
/{usr/,}lib/modules/*/modules.* rw,
/var/lib/dkms/**/module/*.ko r,
/var/lib/dkms/**/module/*.ko* r,
owner /boot/System.map-* r,
# Inherit silencer
deny /apparmor/.null rw,
include if exists <local/dkms_kmod>
}
include if exists <local/dkms>

View file

@ -21,6 +21,8 @@ profile downloadhelper @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/ffmpeg rix,
/opt/ r,
/opt/net.downloadhelper.coapp/ r,
/opt/net.downloadhelper.coapp/bin/ r,

View file

@ -53,8 +53,7 @@ profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
member=GetAll,
dbus receive bus=system path=/
interface=org.freedesktop.fwupd
member=Changed,
interface=org.freedesktop.fwupd,
dbus receive bus=system path=/
interface=org.freedesktop.DBus.Properties