apparmor: expand dependencies (#341183)
This commit is contained in:
commit
0b520ff66e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user