Skip to content

Commit

Permalink
Update apparmor.d
Browse files Browse the repository at this point in the history
  • Loading branch information
nobody43 authored Aug 9, 2023
1 parent 1e914f3 commit 4b7141c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apparmor.d/tunables/multiarch.d/apparmor.d
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# Single alphanumeric character
@{c}=[0-9a-zA-Z]

# Only number (0-9999999999)
@{int}={[0-9],[0-9][0-9],[0-9][0-9][0-9],[0-9][0-9][0-9][0-9],[0-9][0-9][0-9][0-9][0-9],[0-9][0-9][0-9][0-9][0-9][0-9],[0-9][0-9][0-9][0-9][0-9][0-9][0-9],[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9],[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9],[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]}
# Up to 10 digits (0-9999999999)
@{int}=[0-9]{[0-9],}{[0-9],}{[0-9],}{[0-9],}{[0-9],}{[0-9],}{[0-9],}{[0-9],}{[0-9],}

# Any six characters
@{rand6}=@{c}@{c}@{c}@{c}@{c}@{c}
Expand All @@ -31,8 +31,8 @@
@{hex}=@{h}*@{h}

# Date and time
@{date}=[0-9][0-9][0-9][0-9]-[1-9]{,[0-2]}-[1-9]{,[0-9]}
@{time}=[1-9]{,[0-9]}-[0-9]{,[0-9]}-[0-9]{,[0-9]}
@{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]

# @{MOUNTDIRS} is a space-separated list of where user mount directories
# are stored, for programs that must enumerate all mount directories on a
Expand Down

0 comments on commit 4b7141c

Please sign in to comment.