Skip to content

Commit

Permalink
Fix AppArmor profile for ppc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed May 24, 2021
1 parent dd18865 commit 621f7c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/apparmor.d/usr.bin.systemcheck
Expand Up @@ -254,6 +254,8 @@
/sys/devices/virtual/dmi/id/product_name r,
/sys/hypervisor/type r,
/sys/devices/*/net/*/carrier r,
## For systemd-detect-virt on ppc64le pseries.
/sys/firmware/devicetree/base/hypervisor/compatible r,
## For systemd-detect-virt in Qubes.
/sys/hypervisor/properties/features r,

Expand Down
2 changes: 2 additions & 0 deletions etc/apparmor.d/usr.lib.systemcheck.canary
Expand Up @@ -59,6 +59,8 @@
/sys/hypervisor/type r,
/sys/devices/*/net/*/carrier r,
/sys/devices/virtual/dmi/id/sys_vendor r,
## For systemd-detect-virt on ppc64le pseries.
/sys/firmware/devicetree/base/hypervisor/compatible r,
## For systemd-detect-virt in Qubes.
/sys/hypervisor/properties/features r,

Expand Down

0 comments on commit 621f7c2

Please sign in to comment.