mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(tunables): add a new @{pci} variable.
This commit is contained in:
parent
275d6b6e62
commit
1dbced42ed
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user