mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(tunable): add more system vars.
This commit is contained in:
parent
156cce5362
commit
90a8e44d20
@ -5,17 +5,20 @@
|
||||
# To allow extended personalisation without breaking everything.
|
||||
# All apparmor profiles should always use the variables defined here.
|
||||
|
||||
# Single hexadecimal character
|
||||
@{h}=[0-9a-fA-F]
|
||||
# Any digit
|
||||
@{d}=[0-9]
|
||||
|
||||
# Any letter
|
||||
@{l}=[a-zA-Z]
|
||||
|
||||
# Single alphanumeric character
|
||||
@{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_]
|
||||
|
||||
# Any digit
|
||||
@{d}=[0-9]
|
||||
# Single hexadecimal character
|
||||
@{h}=[0-9a-fA-F]
|
||||
|
||||
# Integer up to 10 digits (0-9999999999)
|
||||
@{int}=@{d}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}
|
||||
@ -37,7 +40,10 @@
|
||||
@{int4}=@{int2}@{int2}
|
||||
@{int6}=@{int4}@{int2}
|
||||
@{int8}=@{int4}@{int4}
|
||||
@{int9}=@{int8}@{d}
|
||||
@{int10}=@{int8}@{int2}
|
||||
@{int12}=@{int8}@{int4}
|
||||
@{int15}=@{int8}@{int4}@{int2}@{d}
|
||||
@{int16}=@{int8}@{int8}
|
||||
@{int32}=@{int16}@{int16}
|
||||
@{int64}=@{int32}@{int32}
|
||||
|
Loading…
Reference in New Issue
Block a user