mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +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.
|
# 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}
|
||||||
|
Loading…
Reference in New Issue
Block a user