From e784e78825e204d0738e068c257c089ec37beb99 Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Sat, 9 Nov 2013 10:44:57 +0100 Subject: [PATCH] iptables: calls to firewalld interfaces from Fedora. The firewalld_dontaudit_rw_tmp_files(iptables_t) was confirmed on Debian. Signed-off-by: Dominick Grift --- policy/modules/system/iptables.te | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/policy/modules/system/iptables.te b/policy/modules/system/iptables.te index be8ed1e6c..63eb28736 100644 --- a/policy/modules/system/iptables.te +++ b/policy/modules/system/iptables.te @@ -49,6 +49,7 @@ allow iptables_t iptables_tmp_t:dir manage_dir_perms; allow iptables_t iptables_tmp_t:file manage_file_perms; files_tmp_filetrans(iptables_t, iptables_tmp_t, { file dir }) +kernel_getattr_proc(iptables_t) kernel_request_load_module(iptables_t) kernel_read_system_state(iptables_t) kernel_read_network_state(iptables_t) @@ -104,6 +105,11 @@ optional_policy(` fail2ban_append_log(iptables_t) ') +optional_policy(` + firewalld_read_config_files(iptables_t) + firewalld_dontaudit_rw_tmp_files(iptables_t) +') + optional_policy(` firstboot_use_fds(iptables_t) firstboot_rw_pipes(iptables_t)