Profiles update.

This commit is contained in:
Alexandre Pujol 2021-10-07 14:50:46 +01:00
parent f7a08b666d
commit 9c8c2144b8
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
26 changed files with 186 additions and 136 deletions

View file

@ -38,5 +38,5 @@ profile systemd-backlight @{exec_path} flags=(complain) {
/var/lib/systemd/backlight/*backlight* rw,
include if exists <local/systemd-backlight>
}

View file

@ -1,6 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# 2021 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -8,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/systemd/systemd-coredump
profile systemd-coredump @{exec_path} flags=(attach_disconnected complain) {
profile systemd-coredump @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/openssl>

View file

@ -20,5 +20,8 @@ profile systemd-detect-virt @{exec_path} flags=(attach_disconnected) {
@{sys}/devices/virtual/dmi/id/board_vendor r,
@{sys}/devices/virtual/dmi/id/bios_vendor r,
# Inherit silencer
deny /apparmor/.null rw,
include if exists <local/systemd-detect-virt>
}