feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-04-26 18:39:23 +01:00
parent 8cfc6b4574
commit 1e533ec656
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
8 changed files with 10 additions and 3 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/aa-status
@{exec_path} = /{usr/,}{s,}bin/aa-status /{usr/,}{s,}bin/apparmor_status
profile aa-status @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>

View file

@ -11,6 +11,7 @@ include <tunables/global>
profile appstreamcli @{exec_path} flags=(complain) {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/freedesktop.org>
include <abstractions/nameservice-strict>
capability dac_read_search,
@ -50,7 +51,6 @@ profile appstreamcli @{exec_path} flags=(complain) {
owner @{user_cache_dirs}/appstream-cache-*.mdb rw,
owner @{user_cache_dirs}/appstream/ rw,
owner @{user_cache_dirs}/appstream/appcache-*.mdb rw,
owner @{user_share_dirs}/mime/mime.cache r,
owner /tmp/appstream-cache-*.mdb rw,
owner /tmp/appstream/ rw,