From 9f6e2db3ae99537bf5f194217fba375db72448ef Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Dec 10 2007 15:59:01 +0000 Subject: trunk: add openoffice locations in gentoo. --- diff --git a/policy/modules/system/unconfined.fc b/policy/modules/system/unconfined.fc index 967c66c..ce739b3 100644 --- a/policy/modules/system/unconfined.fc +++ b/policy/modules/system/unconfined.fc @@ -10,3 +10,7 @@ /usr/lib/openoffice\.org.*/program/.+\.bin -- gen_context(system_u:object_r:unconfined_execmem_exec_t,s0) /usr/local/RealPlayer/realplay\.bin -- gen_context(system_u:object_r:unconfined_execmem_exec_t,s0) + +ifdef(`distro_gentoo',` +/usr/lib32/openoffice/program/[^/]+\.bin -- gen_context(system_u:object_r:unconfined_execmem_exec_t,s0) +') diff --git a/policy/modules/system/unconfined.te b/policy/modules/system/unconfined.te index b44c48e..83efcad 100644 --- a/policy/modules/system/unconfined.te +++ b/policy/modules/system/unconfined.te @@ -1,5 +1,5 @@ -policy_module(unconfined,2.0.3) +policy_module(unconfined,2.0.4) ######################################## #