feat(profiles): replace old [0-9]* glob by @{int}

Beware some [0-9]* glob are actually not proper @{int}.
This commit is contained in:
Alexandre Pujol 2023-08-18 17:09:53 +01:00
parent 8ea4491a56
commit 275d6b6e62
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
368 changed files with 637 additions and 636 deletions

View file

@ -96,9 +96,9 @@ profile dbus-daemon @{exec_path} flags=(attach_disconnected) {
@{PROC}/cmdline r,
@{PROC}/sys/kernel/osrelease r,
/dev/dri/card[0-9]* rw,
/dev/input/event[0-9]* rw,
/dev/tty[0-9]* rw,
/dev/dri/card@{int} rw,
/dev/input/event@{int} rw,
/dev/tty@{int} rw,
include if exists <local/dbus-daemon>
}

View file

@ -34,7 +34,7 @@ profile dbus-run-session @{exec_path} {
# file_inherit
/dev/tty rw,
/dev/tty[0-9]* rw,
/dev/tty@{int} rw,
include if exists <local/dbus-run-session>
}

View file

@ -62,7 +62,7 @@ profile ibus-daemon @{exec_path} flags=(attach_disconnected) {
owner @{PROC}/@{pids}/fd/ r,
owner /dev/tty[0-9]* rw,
owner /dev/tty@{int} rw,
include if exists <local/ibus-daemon>
}

View file

@ -43,7 +43,7 @@ profile ibus-dconf @{exec_path} flags=(attach_disconnected) {
owner @{user_config_dirs}/ibus/bus/ r,
owner @{user_config_dirs}/ibus/bus/@{md5}-unix-{,wayland-}@{int} r,
owner /dev/tty[0-9]* rw,
owner /dev/tty@{int} rw,
include if exists <local/ibus-dconf>
}

View file

@ -23,7 +23,7 @@ profile ibus-engine-simple @{exec_path} flags=(attach_disconnected) {
/var/lib/gdm{3,}/.config/ibus/bus/ r,
/var/lib/gdm{3,}/.config/ibus/bus/@{md5}-unix-{,wayland-}@{int} r,
owner /dev/tty[0-9]* rw,
owner /dev/tty@{int} rw,
include if exists <local/ibus-engine-simple>
}

View file

@ -80,7 +80,7 @@ profile ibus-extension-gtk3 @{exec_path} flags=(attach_disconnected) {
/var/lib/gdm{3,}/greeter-dconf-defaults r,
# file inherit
/dev/tty[0-9]* rw,
/dev/tty@{int} rw,
include if exists <local/ibus-extension-gtk3>
}

View file

@ -39,7 +39,7 @@ profile ibus-portal @{exec_path} flags=(attach_disconnected) {
/var/lib/gdm{3,}/.config/ibus/bus/ r,
/var/lib/gdm{3,}/.config/ibus/bus/@{md5}-unix-{,wayland-}@{int} r,
owner /dev/tty[0-9]* rw,
owner /dev/tty@{int} rw,
include if exists <local/ibus-portal>
}

View file

@ -53,7 +53,7 @@ profile ibus-x11 @{exec_path} flags=(attach_disconnected) {
owner @{run}/user/@{uid}/.mutter-Xwaylandauth.@{rand6} r,
owner @{run}/user/@{uid}/gdm/Xauthority r,
owner /dev/tty[0-9]* rw,
owner /dev/tty@{int} rw,
include if exists <local/ibus-x11>
}