From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 40485138247 for ; Fri, 6 Dec 2013 17:33:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70E7CE0B5A; Fri, 6 Dec 2013 17:33:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 704FFE0B5C for ; Fri, 6 Dec 2013 17:33:21 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87DC433F4CD for ; Fri, 6 Dec 2013 17:33:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 327BFD08B2 for ; Fri, 6 Dec 2013 17:33:18 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1386351076.4929259123b905a9d2d131e56f52683cce3d4759.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/iptables.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 4929259123b905a9d2d131e56f52683cce3d4759 X-VCS-Branch: master Date: Fri, 6 Dec 2013 17:33:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2c131cdf-1c39-4cea-ae9e-81bea97c545f X-Archives-Hash: 3c88834d0c54f57c3a4cd52f6007f4fd commit: 4929259123b905a9d2d131e56f52683cce3d4759 Author: Dominick Grift gmail com> AuthorDate: Sat Nov 9 09:44:57 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Dec 6 17:31:16 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=49292591 iptables: calls to firewalld interfaces from Fedora. The firewalld_dontaudit_rw_tmp_files(iptables_t) was confirmed on Debian. Signed-off-by: Dominick Grift gmail.com> --- 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 be8ed1e..63eb287 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) @@ -105,6 +106,11 @@ optional_policy(` ') 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) ')