mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
feat(tunable): improve our variables definition.
This commit is contained in:
parent
be3d625b7f
commit
1148b8faad
2 changed files with 6 additions and 8 deletions
|
@ -44,8 +44,9 @@
|
|||
|
||||
# Open
|
||||
|
||||
@{open_path} = @{bin}/exo-open @{bin}/xdg-open
|
||||
@{open_path} += @{lib}/@{multiarch}/glib-[0-9]*/gio-launch-desktop @{lib}/gio-launch-desktop
|
||||
@{open_path} = @{bin}/exo-open @{bin}/xdg-open @{bin}/gio
|
||||
@{open_path} += @{bin}/gio-launch-desktop @{lib}/gio-launch-desktop
|
||||
@{open_path} += @{lib}/@{multiarch}/glib-[0-9]*/gio-launch-desktop
|
||||
|
||||
# Coreutils programs that should not have dedicated profile
|
||||
@{coreutils} = {,m}awk b2sum base32 base64 basename basenc cat chcon chgrp chmod chown
|
||||
|
|
|
@ -15,13 +15,10 @@
|
|||
# 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
|
||||
# Any x alphanumeric characters
|
||||
@{rand6}=@{c}@{c}@{c}@{c}@{c}@{c}
|
||||
|
||||
# Any eight characters
|
||||
@{rand8}=@{c}@{c}@{c}@{c}@{c}@{c}@{c}@{c}
|
||||
|
||||
# Any ten characters
|
||||
@{rand9}=@{c}@{c}@{c}@{c}@{c}@{c}@{c}@{c}@{c}
|
||||
@{rand10}=@{c}@{c}@{c}@{c}@{c}@{c}@{c}@{c}@{c}@{c}
|
||||
|
||||
# MD5 hash
|
||||
|
@ -57,7 +54,7 @@
|
|||
@{bin}=/{,usr/}{,s}bin
|
||||
@{lib}=/{,usr/}lib{,exec,32,64}
|
||||
|
||||
# Name of the systemd profile: unconfined || systemd
|
||||
# Name of the systemd profiles: unconfined || systemd
|
||||
@{systemd}=unconfined
|
||||
@{systemd_user}=unconfined
|
||||
|
||||
|
|
Loading…
Reference in a new issue