34 lines
791 B
Text
34 lines
791 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# Copyright (C) 2022 Jeroen Rijken
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{sbin}/update-secureboot-policy
|
|
profile update-secureboot-policy @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/common/debconf>
|
|
|
|
@{exec_path} rm,
|
|
|
|
@{bin}/{,m,g}awk ix,
|
|
@{bin}/dpkg-trigger Px,
|
|
@{bin}/find ix,
|
|
@{bin}/id ix,
|
|
@{bin}/od ix,
|
|
@{bin}/sort ix,
|
|
@{bin}/touch ix,
|
|
@{bin}/wc ix,
|
|
|
|
/ r,
|
|
|
|
/var/lib/dkms/ r,
|
|
/var/lib/shim-signed/dkms-list rw,
|
|
|
|
include if exists <local/update-secureboot-policy>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|