32 lines
719 B
Text
32 lines
719 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /usr/share/grub/grub-check-signatures
|
|
profile grub-check-signatures @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sh_path} rix,
|
|
@{bin}/{m,g,}awk rix,
|
|
@{bin}//mktemp rix,
|
|
@{bin}//od rix,
|
|
|
|
/usr/share/debconf/frontend rPx,
|
|
|
|
/usr/share/debconf/confmodule r,
|
|
|
|
owner @{tmp}/tmp.@{rand10}/ rw,
|
|
|
|
@{sys}/firmware/efi/efivars/SecureBoot-@{uuid} r,
|
|
|
|
include if exists <local/grub-check-signatures>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|