From 163ddfaa8041e16ccff2819872890cf07f20f36d Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 9 Sep 2009 08:18:51 -0400 Subject: [PATCH] prelink patch from dan. --- policy/modules/admin/prelink.if | 19 +++++++++++++++++++ policy/modules/admin/prelink.te | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/policy/modules/admin/prelink.if b/policy/modules/admin/prelink.if index 7abf956bb..bb9b962ad 100644 --- a/policy/modules/admin/prelink.if +++ b/policy/modules/admin/prelink.if @@ -140,3 +140,22 @@ interface(`prelink_manage_lib',` files_search_var_lib($1) manage_files_pattern($1, prelink_var_lib_t, prelink_var_lib_t) ') + +######################################## +## +## Relabel from files in the /boot directory. +## +## +## +## Domain allowed access. +## +## +# +interface(`prelink_relabelfrom_lib',` + gen_require(` + type prelink_var_lib_t; + ') + + files_search_var_lib($1) + relabelfrom_files_pattern($1, prelink_var_lib_t, prelink_var_lib_t) +') diff --git a/policy/modules/admin/prelink.te b/policy/modules/admin/prelink.te index 15e9e0369..91889d5f3 100644 --- a/policy/modules/admin/prelink.te +++ b/policy/modules/admin/prelink.te @@ -1,5 +1,5 @@ -policy_module(prelink, 1.7.0) +policy_module(prelink, 1.7.1) ######################################## #