Skip to contentSkip to conversation

Explicitly label dovecot libraries lib_t for debian

PATCH New Mika Pflüger 2 participants 2 messages Oct 21, 2012 – Oct 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Explicitly label dovecot libraries lib_t for debian

From: Mika Pfl?ger <[email protected]>

---
 policy/modules/system/libraries.fc |    1 +
 1 file changed, 1 insertion(+)
policy/modules/system/libraries.fc +1 -0
index f302477..73bb3c0 100644
@@ -119,6 +119,7 @@ ifdef(`distro_redhat',`
 
 /usr/lib/altivec/libavcodec\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
 /usr/lib/cedega/.+\.so(\.[^/]*)*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
+/usr/lib/dovecot/(.*/)?lib.*\.so.*      --      gen_context(system_u:object_r:lib_t,s0)
 /usr/lib/vlc/video_chroma/libi420_rgb_mmx_plugin\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
 /usr/lib/vlc/codec/librealvideo_plugin\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
 /usr/lib/vlc/codec/libdmo_plugin\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 Explicitly label dovecot libraries lib_t for debian

Quoted 11 lines · Mika Pfl?ger

From: Mika Pfl??ger <[email protected]>

---
 policy/modules/system/libraries.fc |    1 +
 1 file changed, 1 insertion(+)
policy/modules/system/libraries.fc +0 -0
index f302477..73bb3c0 100644

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

Quoted 7 lines
policy/modules/system/libraries.fc +1 -0
@@ -119,6 +119,7 @@ ifdef(`distro_redhat',`
 
 /usr/lib/altivec/libavcodec\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
 /usr/lib/cedega/.+\.so(\.[^/]*)*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
+/usr/lib/dovecot/(.*/)?lib.*\.so.*      --      gen_context(system_u:object_r:lib_t,s0)
 /usr/lib/vlc/video_chroma/libi420_rgb_mmx_plugin\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
 /usr/lib/vlc/codec/librealvideo_plugin\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
 /usr/lib/vlc/codec/libdmo_plugin\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)

Merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com