feat(profile): general update.
This commit is contained in:
parent
05b47adb13
commit
42fc4622ed
42 changed files with 154 additions and 94 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2019-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
|
@ -13,16 +14,11 @@ profile dmidecode @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sys}/firmware/dmi/tables/smbios_entry_point r,
|
||||
@{sys}/firmware/dmi/tables/DMI r,
|
||||
|
||||
# The following are needed when the --no-sysfs flag is used
|
||||
#capability sys_rawio,
|
||||
#/dev/mem r,
|
||||
#@{sys}/firmware/efi/systab r,
|
||||
|
||||
# For dumping the output to a file
|
||||
owner /tmp/dump.bin rw,
|
||||
|
||||
@{sys}/firmware/dmi/tables/DMI r,
|
||||
@{sys}/firmware/dmi/tables/smbios_entry_point r,
|
||||
@{sys}/firmware/efi/systab r,
|
||||
|
||||
include if exists <local/dmidecode>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,12 +56,14 @@ profile flatpak-system-helper @{exec_path} {
|
|||
@{bin}/gpgconf mr,
|
||||
@{bin}/gpgsm mr,
|
||||
|
||||
@{lib}/gnupg/scdaemon rix,
|
||||
@{bin}/gpg-agent rix,
|
||||
|
||||
owner /tmp/ostree-gpg-*/ r,
|
||||
owner /tmp/ostree-gpg-*/** rwkl -> /tmp/ostree-gpg-*/**,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue