feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2023-11-26 21:24:40 +00:00
parent 4b61abf7ce
commit 8250e202a0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
37 changed files with 67 additions and 53 deletions

View file

@ -19,9 +19,10 @@ profile apparmor_parser @{exec_path} flags=(attach_disconnected) {
@{lib_dirs}/snapd/apparmor.d/{,**} r,
/etc/apparmor/{,**} r,
/etc/apparmor.d/{,**} r,
/etc/apparmor.d/cache.d/{,**} rw,
/etc/apparmor/{,**} r,
/etc/apparmor/cache.d/{,**} rw,
/etc/apparmor/earlypolicy/{,**} rw,
/usr/share/apparmor-features/{,**} r,

View file

@ -20,7 +20,7 @@ profile ffprobe @{exec_path} {
owner @{user_videos_dirs}/** rw,
@{sys}/devices/system/node/ r,
@{sys}/devices/system/node/node[0-9]/meminfo r,
@{sys}/devices/system/node/node@{int}/meminfo r,
include if exists <local/ffprobe>
}

View file

@ -32,9 +32,8 @@ profile flatpak-portal @{exec_path} flags=(attach_disconnected) {
owner @{user_config_dirs}/user-dirs.dirs r,
owner @{user_share_dirs}/mime/mime.cache r,
owner @{run}/user/@{uid}/.flatpak/@{int}/bwrapinfo.json r,
owner @{run}/user/@{uid}/.flatpak/@{int}/info r,
owner @{run}/user/@{uid}/.flatpak/@{int}/pid r,
owner @{run}/user/@{uid}/.flatpak/@{int}/* r,
owner @{run}/user/@{uid}/.flatpak/@{int}-private/* r,
include if exists <local/flatpak-portal>
}

View file

@ -7,12 +7,14 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/flatpak-session-helper
profile flatpak-session-helper @{exec_path} {
profile flatpak-session-helper @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/p11-kit>
include <abstractions/ssl_certs>
signal (send) set=(int) peer=@{systemd},
@{exec_path} mr,
@{bin}/dbus-monitor rPUx,

View file

@ -87,6 +87,7 @@ profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
/usr/share/mime/mime.cache r,
/etc/fwupd/{,**} rw,
/etc/gnutls/config r,
/etc/lsb-release r,
/etc/pki/fwupd-metadata/{,**} r,
/etc/pki/fwupd/{,**} r,