mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
Update spectre-meltdown-checker
- since this script is not from a package it should, optionally, reside in `local` PATH - allow to confine it with original name and without renaming - use marco instead of repeating the path
This commit is contained in:
parent
27be52f9ae
commit
7336b914cb
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = /{usr/,}bin/spectre-meltdown-checker
|
@{exec_path} = /{,usr/}{,local/}bin/spectre-meltdown-checker{,.sh}
|
||||||
profile spectre-meltdown-checker @{exec_path} {
|
profile spectre-meltdown-checker @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ profile spectre-meltdown-checker @{exec_path} {
|
||||||
owner /tmp/intelfw-*/Intel-Linux-Processor-Microcode-Data-Files-master/** rw,
|
owner /tmp/intelfw-*/Intel-Linux-Processor-Microcode-Data-Files-master/** rw,
|
||||||
|
|
||||||
owner @{HOME}/.mcedb rw,
|
owner @{HOME}/.mcedb rw,
|
||||||
owner /{usr/,}bin/spectre-meltdown-checker w,
|
owner @{exec_path} w,
|
||||||
|
|
||||||
/tmp/ r,
|
/tmp/ r,
|
||||||
owner /tmp/{config,kernel}-* rw,
|
owner /tmp/{config,kernel}-* rw,
|
||||||
|
|
Loading…
Reference in a new issue