Skip to contentSkip to conversation

libraries: Add fc entry for musl's ld.so config

PATCH New Luis Ressel 2 participants 2 messages Nov 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libraries: Add fc entry for musl's ld.so config

---
 policy/modules/system/libraries.fc | 1 +
 1 file changed, 1 insertion(+)
policy/modules/system/libraries.fc +1 -0
index 1e761762a..1d230140b 100644
@@ -29,6 +29,7 @@ ifdef(`distro_redhat',`
 #
 /etc/ld\.so\.cache			--	gen_context(system_u:object_r:ld_so_cache_t,s0)
 /etc/ld\.so\.preload			--	gen_context(system_u:object_r:ld_so_cache_t,s0)
+/etc/ld-musl-[^/]*\.path		--	gen_context(system_u:object_r:ld_so_cache_t,s0)
 
 /etc/ppp/plugins/rp-pppoe\.so 		--	gen_context(system_u:object_r:lib_t,s0)
 
Signature · 1 line
2.15.0
#1 lore raw

PATCH 1/1 libraries: Add fc entry for musl's ld.so config

Quoted 9 lines · Luis Ressel via refpolicy
---
  policy/modules/system/libraries.fc | 1 +
  1 file changed, 1 insertion(+)
policy/modules/system/libraries.fc +0 -0
index 1e761762a..1d230140b 100644

policy/modules/system/libraries.fc ifdef(`distro_redhat',` · line 34

Quoted 6 lines
policy/modules/system/libraries.fc +1 -0
@@ -29,6 +29,7 @@ ifdef(`distro_redhat',`
  #
  /etc/ld\.so\.cache			--	gen_context(system_u:object_r:ld_so_cache_t,s0)
  /etc/ld\.so\.preload			--	gen_context(system_u:object_r:ld_so_cache_t,s0)
+/etc/ld-musl-[^/]*\.path		--	gen_context(system_u:object_r:ld_so_cache_t,s0)
 
  /etc/ppp/plugins/rp-pppoe\.so 		--	gen_context(system_u:object_r:lib_t,s0)

Merged.

Signature · 1 line
Chris PeBenito