From d163a43f9052c1ea94493b2a0393f182da9bdd03 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Tue, 10 Jan 2006 16:45:18 +0000 Subject: [PATCH] minor cleanups --- refpolicy/policy/modules/admin/dmesg.te | 1 - refpolicy/policy/modules/admin/logrotate.te | 1 - refpolicy/policy/modules/services/spamassassin.te | 2 -- refpolicy/policy/modules/system/iptables.te | 4 +--- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/refpolicy/policy/modules/admin/dmesg.te b/refpolicy/policy/modules/admin/dmesg.te index 706c2bacc..047571a15 100644 --- a/refpolicy/policy/modules/admin/dmesg.te +++ b/refpolicy/policy/modules/admin/dmesg.te @@ -71,5 +71,4 @@ ifdef(`strict_policy',` optional_policy(`udev',` udev_read_db(dmesg_t) ') - ') diff --git a/refpolicy/policy/modules/admin/logrotate.te b/refpolicy/policy/modules/admin/logrotate.te index cbd298af5..6343040c8 100644 --- a/refpolicy/policy/modules/admin/logrotate.te +++ b/refpolicy/policy/modules/admin/logrotate.te @@ -149,7 +149,6 @@ optional_policy(`apache',` optional_policy(`consoletype',` consoletype_exec(logrotate_t) - ') optional_policy(`cups',` diff --git a/refpolicy/policy/modules/services/spamassassin.te b/refpolicy/policy/modules/services/spamassassin.te index 7a04b5935..7773c995f 100644 --- a/refpolicy/policy/modules/services/spamassassin.te +++ b/refpolicy/policy/modules/services/spamassassin.te @@ -162,5 +162,3 @@ allow spamd_t amavisd_lib_t:file create_file_perms; allow spamd_t amavisd_lib_t:lnk_file create_lnk_perms; ') ') dnl end TODO - -typeattribute spamc_exec_t entry_type; diff --git a/refpolicy/policy/modules/system/iptables.te b/refpolicy/policy/modules/system/iptables.te index ec23ab189..d2bb83071 100644 --- a/refpolicy/policy/modules/system/iptables.te +++ b/refpolicy/policy/modules/system/iptables.te @@ -1,5 +1,5 @@ -policy_module(iptables,1.0.1) +policy_module(iptables,1.0.2) ######################################## # @@ -78,7 +78,6 @@ userdom_use_all_user_fd(iptables_t) ifdef(`targeted_policy', ` term_dontaudit_use_unallocated_tty(iptables_t) term_dontaudit_use_generic_pty(iptables_t) - files_dontaudit_read_root_file(iptables_t) ') @@ -88,7 +87,6 @@ optional_policy(`firstboot',` ') optional_policy(`modutils',` - corecmd_search_sbin(iptables_t) modutils_domtrans_insmod(iptables_t) ')