From f4dbfec89a4c47ac531743a3c0f4fa072d62b1db Mon Sep 17 00:00:00 2001 From: nobody43 Date: Tue, 23 Jan 2024 00:06:25 +0000 Subject: [PATCH] python wildcard #2 --- apparmor.d/profiles-m-r/pass-import | 4 ++-- docs/install.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apparmor.d/profiles-m-r/pass-import b/apparmor.d/profiles-m-r/pass-import index 169e5852f..81b9d8597 100644 --- a/apparmor.d/profiles-m-r/pass-import +++ b/apparmor.d/profiles-m-r/pass-import @@ -28,7 +28,7 @@ profile pass-import @{exec_path} { @{bin}/python3.@{int} 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, @@ -39,4 +39,4 @@ profile pass-import @{exec_path} { @{PROC}/@{pids}/fd/ r, include if exists -} \ No newline at end of file +} diff --git a/docs/install.md b/docs/install.md index 2e097e22a..7d0386299 100644 --- a/docs/install.md +++ b/docs/install.md @@ -93,7 +93,7 @@ sudo make profile-names... Warning: profile dependencies fallback to unconfined. @{bin}/wl-{copy,paste} 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}/less rPx -> child-pager, @{bin}/more rPx -> child-pager,