summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-08-21 23:18:17 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-08-21 23:18:17 -0400
commit92c4128f985dfc561b0534a93f9260863642806e (patch)
tree476e183612c0ac32247f5bd3574a494288e88d46 /src
parentd5d6e960bde4acdb5086a60873870c4ca22d0776 (diff)
downloadselinux-policy-92c4128f985dfc561b0534a93f9260863642806e.tar.gz
add (call .xattr.associate_fs (file)) to loader.conf files
Without this we can't change the context of the loader.conf files.
Diffstat (limited to 'src')
-rw-r--r--src/file/ldfile.cil1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file/ldfile.cil b/src/file/ldfile.cil
index 60adb23..5df16b4 100644
--- a/src/file/ldfile.cil
+++ b/src/file/ldfile.cil
@@ -1,6 +1,7 @@
(block loader
(block conf
(blockinherit .file.template)
+ (call .xattr.associate_fs (file))
(filecon "/etc/ld.so.conf" file file_context)
(filecon "/etc/ld.so.conf.d" dir file_context)
(filecon "/etc/ld.so.conf.d/.*" file file_context)