From daff1dc5af34acb1c60e7e433e349509acd25943 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 11 Nov 2005 15:33:38 +0000 Subject: [PATCH] fix missing role statements --- refpolicy/policy/modules/admin/usermanage.te | 1 + refpolicy/policy/modules/services/postfix.te | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/refpolicy/policy/modules/admin/usermanage.te b/refpolicy/policy/modules/admin/usermanage.te index b12829c0..f5934f68 100644 --- a/refpolicy/policy/modules/admin/usermanage.te +++ b/refpolicy/policy/modules/admin/usermanage.te @@ -48,6 +48,7 @@ type sysadm_passwd_t; domain_obj_id_change_exempt(sysadm_passwd_t) domain_type(sysadm_passwd_t) domain_entry_file(sysadm_passwd_t,admin_passwd_exec_t) +role system_r types sysadm_passwd_t; type sysadm_passwd_tmp_t; files_tmp_file(sysadm_passwd_tmp_t) diff --git a/refpolicy/policy/modules/services/postfix.te b/refpolicy/policy/modules/services/postfix.te index e589926f..eec36bde 100644 --- a/refpolicy/policy/modules/services/postfix.te +++ b/refpolicy/policy/modules/services/postfix.te @@ -377,6 +377,11 @@ seutil_read_config(postfix_map_t) sysnet_read_config(postfix_map_t) +ifdef(`targeted_policy',` + # FIXME: would be better to use a run interface + role system_r types postfix_map_t; +') + tunable_policy(`read_default_t',` files_list_default(postfix_map_t) files_read_default_files(postfix_map_t)