mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
fix(tunable): pci id are hex.
This commit is contained in:
parent
cad27a3f78
commit
19c1bcc2c7
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue