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 9B83859172 for ; Fri, 12 Feb 2016 03:51:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A515B21C04F; Fri, 12 Feb 2016 03:51:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F05C21C04F for ; Fri, 12 Feb 2016 03:51:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F33A340CCA for ; Fri, 12 Feb 2016 03:51:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99DF710FB for ; Fri, 12 Feb 2016 03:51:43 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1455245692.56bb41501530668d9c82041851f00d59bc90fbee.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/firewalld.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 56bb41501530668d9c82041851f00d59bc90fbee X-VCS-Branch: master Date: Fri, 12 Feb 2016 03:51:43 +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: 4c4aba61-900e-4190-8e8e-de6a68b6523d X-Archives-Hash: dac365fc3b47ff3f3693d246fd9dabfd commit: 56bb41501530668d9c82041851f00d59bc90fbee Author: Laurent Bigonville bigon be> AuthorDate: Mon Feb 8 22:22:58 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Feb 12 02:54:52 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=56bb4150 Add an interface to allow a domain to read firewalld_var_run_t files policy/modules/contrib/firewalld.if | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/policy/modules/contrib/firewalld.if b/policy/modules/contrib/firewalld.if index a16179b..dd89afa 100644 --- a/policy/modules/contrib/firewalld.if +++ b/policy/modules/contrib/firewalld.if @@ -61,6 +61,25 @@ interface(`firewalld_dontaudit_rw_tmp_files',` ######################################## ## +## Read firewalld runtime files. +## +## +## +## Domain allowed access. +## +## +# +interface(`firewalld_read_var_run_files',` + gen_require(` + type firewalld_var_run_t; + ') + + files_search_pids($1) + read_files_pattern($1, firewalld_var_run_t, firewalld_var_run_t) +') + +######################################## +## ## All of the rules required to ## administrate an firewalld environment. ##