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 B8442138D0D for ; Tue, 7 Jul 2015 14:12:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 358A2E0AFA; Tue, 7 Jul 2015 14:12: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 E1B2AE0AFA for ; Tue, 7 Jul 2015 14:12: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 12315340DD8 for ; Tue, 7 Jul 2015 14:12:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 177BD738 for ; Tue, 7 Jul 2015 14:12:22 +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: <1436278298.68f348699a16ed79e25f29fc78a6e6a14c02b275.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: 68f348699a16ed79e25f29fc78a6e6a14c02b275 X-VCS-Branch: master Date: Tue, 7 Jul 2015 14:12:22 +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: 6c311c2f-f831-4fe5-8cd4-8bba404c0723 X-Archives-Hash: 173825c309da8c156fcd16bab5fe31f5 commit: 68f348699a16ed79e25f29fc78a6e6a14c02b275 Author: Sven Vermeulen siphos be> AuthorDate: Tue Jul 7 14:11:38 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Jul 7 14:11:38 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=68f34869 Add setsched/getsched to salt_master_t The salt master daemon also requires the getsched/setsched permissions (like added for salt_minion_t in the past) as otherwise the master daemon is defunct and all connections to it are stalled. policy/modules/contrib/salt.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/contrib/salt.te b/policy/modules/contrib/salt.te index 89995ce..576d424 100644 --- a/policy/modules/contrib/salt.te +++ b/policy/modules/contrib/salt.te @@ -101,7 +101,7 @@ files_pid_file(salt_var_run_t) allow salt_master_t self:capability { net_admin sys_admin sys_tty_config }; allow salt_master_t self:capability2 block_suspend; -allow salt_master_t self:process signal; +allow salt_master_t self:process { getsched setschd signal }; allow salt_master_t self:tcp_socket create_stream_socket_perms; allow salt_master_t self:udp_socket create_socket_perms; allow salt_master_t self:fifo_file rw_fifo_file_perms; 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 AFFA9138D03 for ; Sat, 11 Jul 2015 14:09:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B2AAE0903; Sat, 11 Jul 2015 14:09:50 +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 A3F58E08F3 for ; Sat, 11 Jul 2015 14:09:49 +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 8EC1D340945 for ; Sat, 11 Jul 2015 14:09:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77D09761 for ; Sat, 11 Jul 2015 14:09:45 +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: <1436278298.68f348699a16ed79e25f29fc78a6e6a14c02b275.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift 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: 68f348699a16ed79e25f29fc78a6e6a14c02b275 X-VCS-Branch: swift Date: Sat, 11 Jul 2015 14:09:45 +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: 0cd5a161-8d5a-40a6-8074-62f910519cf8 X-Archives-Hash: 57516215c3dc75b228719befa069844c Message-ID: <20150711140945.RX-vUa7MVo4iXmdLWZ1XkuuatstuisGOleGwP4yVlCk@z> commit: 68f348699a16ed79e25f29fc78a6e6a14c02b275 Author: Sven Vermeulen siphos be> AuthorDate: Tue Jul 7 14:11:38 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Jul 7 14:11:38 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=68f34869 Add setsched/getsched to salt_master_t The salt master daemon also requires the getsched/setsched permissions (like added for salt_minion_t in the past) as otherwise the master daemon is defunct and all connections to it are stalled. policy/modules/contrib/salt.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/contrib/salt.te b/policy/modules/contrib/salt.te index 89995ce..576d424 100644 --- a/policy/modules/contrib/salt.te +++ b/policy/modules/contrib/salt.te @@ -101,7 +101,7 @@ files_pid_file(salt_var_run_t) allow salt_master_t self:capability { net_admin sys_admin sys_tty_config }; allow salt_master_t self:capability2 block_suspend; -allow salt_master_t self:process signal; +allow salt_master_t self:process { getsched setschd signal }; allow salt_master_t self:tcp_socket create_stream_socket_perms; allow salt_master_t self:udp_socket create_socket_perms; allow salt_master_t self:fifo_file rw_fifo_file_perms;