apparmor: expand dependencies (#341183)

This commit is contained in:
Jörg Thalheim 2024-09-12 13:03:31 +02:00 committed by GitHub
commit 0b520ff66e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -324,12 +324,16 @@ let
, baseRules ? [
"r $path"
"r $path/etc/**"
"r $path/share/**"
"mr $path/share/**"
# Note that not all libraries are prefixed with "lib",
# eg. glibc-2.30/lib/ld-2.30.so
"mr $path/lib/**.so*"
"mr $path/lib64/**.so*"
# eg. glibc-2.30/lib/gconv/gconv-modules
"r $path/lib/**"
"r $path/lib64/**"
# Internal executables
"ixr $path/libexec/**"
]
, name ? ""
}: rootPaths: runCommand