From 9f6e2db3ae99537bf5f194217fba375db72448ef Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Mon, 10 Dec 2007 15:59:01 +0000 Subject: [PATCH] trunk: add openoffice locations in gentoo. --- policy/modules/system/unconfined.fc | 4 ++++ policy/modules/system/unconfined.te | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/unconfined.fc b/policy/modules/system/unconfined.fc index 967c66c3f..ce739b364 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 b44c48e1b..83efcad14 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) ######################################## #