mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
feat(profiles): add needrestart-iucode-scan-versions.
This commit is contained in:
parent
1d284c03c3
commit
21250f5eec
1 changed files with 35 additions and 0 deletions
35
apparmor.d/profiles-m-r/needrestart-iucode-scan-versions
Normal file
35
apparmor.d/profiles-m-r/needrestart-iucode-scan-versions
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}lib/needrestart/iucode-scan-versions
|
||||||
|
profile needrestart-iucode-scan-versions @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}{s,}bin/iucode_tool rix,
|
||||||
|
/{usr/,}bin/{,ba,da}sh rix,
|
||||||
|
/{usr/,}bin/{,e}grep rix,
|
||||||
|
/{usr/,}bin/bsdtar rix,
|
||||||
|
/{usr/,}bin/cat rix,
|
||||||
|
|
||||||
|
/usr/share/misc/ r,
|
||||||
|
/usr/share/misc/intel-microcode* r,
|
||||||
|
|
||||||
|
/etc/default/intel-microcode r,
|
||||||
|
/etc/needrestart/iucode.sh r,
|
||||||
|
|
||||||
|
/boot/intel-ucode.img r,
|
||||||
|
/boot/early_ucode.cpio r,
|
||||||
|
|
||||||
|
@{sys}/devices/system/cpu/cpu[0-9]*/microcode/processor_flags r,
|
||||||
|
|
||||||
|
/dev/tty rw,
|
||||||
|
|
||||||
|
include if exists <local/needrestart-iucode-scan-versions>
|
||||||
|
}
|
Loading…
Reference in a new issue