2012-10-21 02:30:20

by debian

[permalink] [raw]
Subject: [refpolicy] [PATCH] 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(+)

diff --git a/policy/modules/system/libraries.fc b/policy/modules/system/libraries.fc
index f302477..73bb3c0 100644
--- a/policy/modules/system/libraries.fc
+++ b/policy/modules/system/libraries.fc
@@ -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)
--
1.7.10.4


2012-10-30 17:53:40

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] Explicitly label dovecot libraries lib_t for debian

On 10/20/12 22:30, Mika Pfl?ger wrote:
> From: Mika Pfl??ger <[email protected]>
>
> ---
> policy/modules/system/libraries.fc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/policy/modules/system/libraries.fc b/policy/modules/system/libraries.fc
> index f302477..73bb3c0 100644
> --- a/policy/modules/system/libraries.fc
> +++ b/policy/modules/system/libraries.fc
> @@ -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.

--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com