feat(tunable): add more system vars.

This commit is contained in:
Alexandre Pujol 2024-09-25 13:05:35 +01:00
parent 156cce5362
commit 90a8e44d20
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -5,17 +5,20 @@
# To allow extended personalisation without breaking everything. # To allow extended personalisation without breaking everything.
# All apparmor profiles should always use the variables defined here. # All apparmor profiles should always use the variables defined here.
# Single hexadecimal character # Any digit
@{h}=[0-9a-fA-F] @{d}=[0-9]
# Any letter
@{l}=[a-zA-Z]
# Single alphanumeric character # Single alphanumeric character
@{c}=[0-9a-zA-Z] @{c}=[0-9a-zA-Z]
# Word character. Matches any letter, digit or underscore. # Word character: matches any letter, digit or underscore.
@{w}=[a-zA-Z0-9_] @{w}=[a-zA-Z0-9_]
# Any digit # Single hexadecimal character
@{d}=[0-9] @{h}=[0-9a-fA-F]
# Integer up to 10 digits (0-9999999999) # Integer up to 10 digits (0-9999999999)
@{int}=@{d}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},} @{int}=@{d}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}
@ -37,7 +40,10 @@
@{int4}=@{int2}@{int2} @{int4}=@{int2}@{int2}
@{int6}=@{int4}@{int2} @{int6}=@{int4}@{int2}
@{int8}=@{int4}@{int4} @{int8}=@{int4}@{int4}
@{int9}=@{int8}@{d}
@{int10}=@{int8}@{int2} @{int10}=@{int8}@{int2}
@{int12}=@{int8}@{int4}
@{int15}=@{int8}@{int4}@{int2}@{d}
@{int16}=@{int8}@{int8} @{int16}=@{int8}@{int8}
@{int32}=@{int16}@{int16} @{int32}=@{int16}@{int16}
@{int64}=@{int32}@{int32} @{int64}=@{int32}@{int32}