diff --git a/apparmor.d/tunables/multiarch.d/apparmor.d b/apparmor.d/tunables/multiarch.d/apparmor.d index d1fe3dff..10fcc09d 100644 --- a/apparmor.d/tunables/multiarch.d/apparmor.d +++ b/apparmor.d/tunables/multiarch.d/apparmor.d @@ -30,6 +30,11 @@ # Hexadecimal @{hex}=@{h}*@{h} +# Shortcut for PCI device +@{pci_id}=[0-9][0-9][0-9][0-9]:[0-9][0-9]:[0-9a-f][0-9a-f].[0-9] +@{pci_bus}=pci[0-9][0-9][0-9][0-9]:[0-9][0-9] +@{pci}=@{pci_bus}/@{pci_id}{,/@{pci_id}} + # Date and time @{date}=[0-2][0-9][0-9][0-9]-[01][0-9]-[0-3][0-9] @{time}={[0-2],}[0-9]-[0-5][0-9]-[0-6][0-9]