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 283FA13877A for ; Sat, 30 Aug 2014 20:16:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B428E09C4; Sat, 30 Aug 2014 20:16:25 +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 BB99DE09C4 for ; Sat, 30 Aug 2014 20:16:24 +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 7A67333EB43 for ; Sat, 30 Aug 2014 20:16:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B87E4472 for ; Sat, 30 Aug 2014 20:16:21 +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: <1409429748.02fa620d3ded0f4b2eeca78cb7c6bb13542c19af.swift@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/salt.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 02fa620d3ded0f4b2eeca78cb7c6bb13542c19af X-VCS-Branch: master Date: Sat, 30 Aug 2014 20:16:21 +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: aa696784-81e8-4af5-bc80-0ba2c2412670 X-Archives-Hash: 4c40db827fdf8a45832932d67c64752a commit: 02fa620d3ded0f4b2eeca78cb7c6bb13542c19af Author: Sven Vermeulen siphos be> AuthorDate: Sat Aug 30 20:15:48 2014 +0000 Commit: Sven Vermeulen gentoo org> 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) ')