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 6881A13877A for ; Sun, 31 Aug 2014 20:51:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85C90E0B94; Sun, 31 Aug 2014 20:51:43 +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 E2284E0BC4 for ; Sun, 31 Aug 2014 20:51:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8711C33F7E8 for ; Sun, 31 Aug 2014 20:51:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32DF645EC for ; Sun, 31 Aug 2014 20:51:40 +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: <1409429748.02fa620d3ded0f4b2eeca78cb7c6bb13542c19af.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:perfinion commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/salt.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 02fa620d3ded0f4b2eeca78cb7c6bb13542c19af X-VCS-Branch: perfinion Date: Sun, 31 Aug 2014 20:51:40 +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: b7d60d75-833c-4552-a5d2-4f37966cc24c X-Archives-Hash: 7fda74d188a894ff30e557c62c1458be commit: 02fa620d3ded0f4b2eeca78cb7c6bb13542c19af Author: Sven Vermeulen siphos be> AuthorDate: Sat Aug 30 20:15:48 2014 +0000 Commit: Jason Zaman perfinion com> CommitDate: Sat Aug 30 20:15:48 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=02fa620d Updates on salt policy - interaction with postfix --- policy/modules/contrib/salt.te | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/salt.te b/policy/modules/contrib/salt.te index 180305f..279edfb 100644 --- a/policy/modules/contrib/salt.te +++ b/policy/modules/contrib/salt.te @@ -200,7 +200,7 @@ tunable_policy(`salt_master_read_nfs',` allow salt_minion_t self:capability { fsetid chown net_admin sys_admin sys_tty_config }; allow salt_minion_t self:capability2 block_suspend; -allow salt_minion_t self:process { signull }; +allow salt_minion_t self:process { signal signull }; allow salt_minion_t self:tcp_socket create_stream_socket_perms; allow salt_minion_t self:udp_socket create_socket_perms; allow salt_minion_t self:unix_dgram_socket create_socket_perms; @@ -277,8 +277,12 @@ fs_getattr_all_fs(salt_minion_t) getty_use_fds(salt_minion_t) +init_exec_rc(salt_minion_t) + miscfiles_read_localization(salt_minion_t) +seutil_domtrans_setfiles(salt_minion_t) + sysnet_exec_ifconfig(salt_minion_t) sysnet_read_config(salt_minion_t) @@ -298,6 +302,11 @@ optional_policy(` ') optional_policy(` + postfix_domtrans_master(salt_minion_t) + postfix_run_map(salt_minion_t, salt_minion_roles) +') + +optional_policy(` shutdown_domtrans(salt_minion_t) ')