Explicitly label dovecot libraries lib_t for debian
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
@@ -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
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
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