mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
fix(tunable): pci id are hex.
This commit is contained in:
parent
cad27a3f78
commit
19c1bcc2c7
@ -34,8 +34,8 @@
|
||||
@{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_id}=@{h}@{h}@{h}@{h}:@{h}@{h}:@{h}@{h}.@{h}
|
||||
@{pci_bus}=pci@{h}@{h}@{h}@{h}:@{h}@{h}
|
||||
@{pci}=@{pci_bus}/@{pci_id}{,/@{pci_id}}{,/@{pci_bus}/@{pci_id}{,/@{pci_id}}}
|
||||
|
||||
# Date and time
|
||||
|
Loading…
Reference in New Issue
Block a user