2024-10-12 18:19:18 +02:00
|
|
|
diff --git a/apparmor.d/tunables/multiarch.d/system b/apparmor.d/tunables/multiarch.d/system
|
2024-10-17 11:12:30 +02:00
|
|
|
index be37123f..81ac4f20 100644
|
2024-10-12 18:19:18 +02:00
|
|
|
--- a/apparmor.d/tunables/multiarch.d/system
|
|
|
|
+++ b/apparmor.d/tunables/multiarch.d/system
|
2024-10-17 11:12:30 +02:00
|
|
|
@@ -106,8 +106,19 @@
|
2024-10-12 18:19:18 +02:00
|
|
|
@{MOUNTS}=@{MOUNTDIRS}/*/ @{run}/user/@{uid}/gvfs/
|
|
|
|
|
|
|
|
# Common places for binaries and libraries across distributions
|
|
|
|
-@{bin}=/{,usr/}{,s}bin
|
|
|
|
-@{lib}=/{,usr/}lib{,exec,32,64}
|
2024-10-17 11:12:30 +02:00
|
|
|
+@{package1}={@{w},.,-}
|
|
|
|
+@{package2}=@{package1}@{package1}
|
|
|
|
+@{package4}=@{package2}@{package2}
|
|
|
|
+@{package8}=@{package4}@{package4}
|
|
|
|
+@{package16}=@{package8}@{package8}
|
|
|
|
+@{package32}=@{package16}@{package16}
|
|
|
|
+@{package64}=@{package32}@{package32}
|
|
|
|
+@{nix_package_name}={@{package64},}{@{package32},}{@{package16},}{@{package8},}{@{package4},}{@{package2},}{@{package1},}
|
|
|
|
+
|
|
|
|
+@{nix_store}=/nix/store/@{rand32}-@{nix_package_name}
|
|
|
|
+@{base_paths}=@{nix_store} /etc/profiles/per-user/@{user} /run/current-system/sw
|
2024-10-14 14:49:17 +02:00
|
|
|
+@{bin}=@{base_paths}/bin /{,usr/}{,s}bin
|
2024-10-13 13:44:16 +02:00
|
|
|
+@{lib}=@{base_paths}/lib
|
2024-10-12 18:19:18 +02:00
|
|
|
|
|
|
|
# Common places for temporary files
|
|
|
|
@{tmp}=/tmp/ /tmp/user/@{uid}/
|