feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-08-27 14:54:04 +01:00
parent 19331acaa9
commit 75ef5ef6ad
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
48 changed files with 205 additions and 141 deletions

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -20,6 +21,9 @@ profile update-alternatives @{exec_path} {
/var/lib/dpkg/alternatives/ r,
/var/lib/dpkg/alternatives/* rw,
owner /var/lib/alternatives/ r,
owner /var/lib/alternatives/* rw,
@{bin}/* w,
@{bin}/*.dpkg-tmp rw,
@ -28,7 +32,7 @@ profile update-alternatives @{exec_path} {
/usr/** rw,
/lib/firmware/* rw,
@{lib}/firmware/* rw,
include if exists <local/update-alternatives>
}