refractor: use @{python_path} in all profiles.

This commit is contained in:
Alexandre Pujol 2025-02-17 21:28:40 +01:00
parent 5870e1ee40
commit af85db9148
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
77 changed files with 92 additions and 92 deletions

View file

@ -14,9 +14,9 @@ profile alacarte @{exec_path} {
include <abstractions/python>
@{exec_path} mr,
@{bin}/python3.@{int} rix,
@{python_path} rix,
@{lib}/python3.@{int}/site-packages/Alacarte/{,**/}__pycache__/*.cpython-@{int}.*.pyc.@{int} w,
@{lib}/@{python_name}/site-packages/Alacarte/{,**/}__pycache__/*.cpython-@{int}.*.pyc.@{int} w,
/usr/share/alacarte/{,**} r,
/usr/share/desktop-directories/{,**} r,

View file

@ -19,7 +19,7 @@ profile arandr @{exec_path} {
include <abstractions/nameservice-strict>
@{exec_path} r,
@{bin}/python3.@{int} r,
@{python_path} r,
@{bin}/ r,
@{bin}/xrandr rPx,

View file

@ -27,7 +27,7 @@ profile borg @{exec_path} {
@{exec_path} r,
@{bin}/ r,
@{bin}/python3.@{int} r,
@{python_path} r,
@{bin}/{,@{multiarch}-}ld.bfd rix,
@{bin}/cat rix,

View file

@ -20,7 +20,7 @@ profile convertall @{exec_path} {
@{exec_path} r,
@{sh_path} rix,
@{bin}/python3.@{int} rix,
@{python_path} rix,
/usr/share/convertall/{,**} r,
/usr/share/doc/convertall/{,*} r,

View file

@ -13,7 +13,7 @@ profile execute-dcut @{exec_path} flags=(complain) {
include <abstractions/python>
@{exec_path} r,
@{bin}/python3.@{int} r,
@{python_path} r,
include if exists <local/execute-dcut>
}

View file

@ -15,7 +15,7 @@ profile execute-dput @{exec_path} flags=(complain) {
@{exec_path} r,
@{bin}/python3.@{int} r,
@{python_path} r,
@{sh_path} rix,
@{bin}/dpkg rPx -> child-dpkg,

View file

@ -15,7 +15,7 @@ profile fail2ban-client @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
@{bin}/ r,
@{bin}/python3.@{int} r,
@{python_path} r,
/etc/fail2ban/{,**} r,

View file

@ -24,7 +24,7 @@ profile fail2ban-server @{exec_path} flags=(attach_disconnected) {
@{bin}/iptables rix,
@{bin}/ r,
@{bin}/python3.@{int} r,
@{python_path} r,
/etc/fail2ban/{,**} r,