python wildcard #2

This commit is contained in:
nobody43 2024-01-23 00:06:25 +00:00
parent 51c402fe40
commit f4dbfec89a
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ profile pass-import @{exec_path} {
@{bin}/python3.@{int} rix, @{bin}/python3.@{int} rix,
@{lib}/gcc/**/collect2 rix, @{lib}/gcc/**/collect2 rix,
@{lib}/python{2.[4-7],3,3.[0-9]*}/** w, # TODO: Test deny @{lib}/python{2.[4-7],3,3.@{int}}/** w, # TODO: Test deny
/usr/share/file/misc/magic.mgc r, /usr/share/file/misc/magic.mgc r,
@ -39,4 +39,4 @@ profile pass-import @{exec_path} {
@{PROC}/@{pids}/fd/ r, @{PROC}/@{pids}/fd/ r,
include if exists <local/pass-import> include if exists <local/pass-import>
} }

View file

@ -93,7 +93,7 @@ sudo make profile-names...
Warning: profile dependencies fallback to unconfined. Warning: profile dependencies fallback to unconfined.
@{bin}/wl-{copy,paste} rPx, @{bin}/wl-{copy,paste} rPx,
@{bin}/xclip rPx, @{bin}/xclip rPx,
@{bin}/python3.[0-9]* rPx -> pass-import, # pass-import @{bin}/python3.@{int} rPx -> pass-import, # pass-import
@{bin}/pager rPx -> child-pager, @{bin}/pager rPx -> child-pager,
@{bin}/less rPx -> child-pager, @{bin}/less rPx -> child-pager,
@{bin}/more rPx -> child-pager, @{bin}/more rPx -> child-pager,