fix(profile): apply some fix raised by the test suite.

This commit is contained in:
Alexandre Pujol 2024-10-22 00:37:50 +01:00
parent 1f869c12ad
commit cca8e6508f
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
24 changed files with 65 additions and 12 deletions

View file

@ -44,6 +44,8 @@ profile apparmor_parser @{exec_path} flags=(attach_disconnected) {
@{PROC}/sys/kernel/osrelease r,
owner @{PROC}/@{pid}/mounts r,
deny network netlink raw, # file_inherit
include if exists <local/apparmor_parser>
}

View file

@ -72,9 +72,9 @@ profile flatpak @{exec_path} flags=(attach_disconnected,mediate_deleted,complain
owner @{user_share_dirs}/ r,
owner @{user_share_dirs}/flatpak/{,**} rwl,
/tmp/#@{int} rw,
owner /dev/shm/flatpak*/{,**} rw,
owner @{tmp}/#@{int} rw,
owner @{tmp}/ostree-gpg-@{rand6}/{,**} rw,
owner /dev/shm/flatpak*/{,**} rw,
@{run}/.userns r,
@{run}/user/@{uid}/.dbus-proxy/ w,