feat: profiles update.

This commit is contained in:
Alexandre Pujol 2022-04-13 22:04:36 +01:00
parent ef9c451559
commit 1ad60d3b1c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
14 changed files with 56 additions and 35 deletions

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2019-2022 Mikhail Morfikov
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -15,6 +16,8 @@ profile apt-mark @{exec_path} {
/{usr/,}bin/dpkg rPx,
/etc/machine-id r,
/var/lib/apt/extended_states{,.*} rw,
owner @{PROC}/@{pid}/fd/ r,
@ -22,5 +25,7 @@ profile apt-mark @{exec_path} {
/var/cache/apt/ r,
/var/cache/apt/** rwk,
/dev/pts/[0-9]* rw,
include if exists <local/apt-mark>
}