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 1A6D21381F3 for ; Wed, 28 Nov 2012 20:23:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B362D21C046; Wed, 28 Nov 2012 20:21:17 +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 B512121C020 for ; Wed, 28 Nov 2012 20:21:16 +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 947CE33D9FB for ; Wed, 28 Nov 2012 20:21:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 533A6E5436 for ; Wed, 28 Nov 2012 20:21:13 +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: <1354134020.cf50bf8d9c6b0227f0950146144ff53e4d25cd23.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/corosync.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: cf50bf8d9c6b0227f0950146144ff53e4d25cd23 X-VCS-Branch: master Date: Wed, 28 Nov 2012 20:21:13 +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: 1f88a1f1-e589-476b-856c-e5e25f44ec89 X-Archives-Hash: 99f8d86ec9c1106af884fcec0f38d170 commit: cf50bf8d9c6b0227f0950146144ff53e4d25cd23 Author: Dominick Grift gmail com> AuthorDate: Wed Nov 28 16:51:31 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Wed Nov 28 20:20:20 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=cf50bf8d Changes to the corosync policy module Sends to self with unix dgram socket Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/corosync.te | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/policy/modules/contrib/corosync.te b/policy/modules/contrib/corosync.te index 904b241..78a58fa 100644 --- a/policy/modules/contrib/corosync.te +++ b/policy/modules/contrib/corosync.te @@ -1,4 +1,4 @@ -policy_module(corosync, 1.0.3) +policy_module(corosync, 1.0.4) ######################################## # @@ -40,6 +40,7 @@ allow corosync_t self:process { setpgid setrlimit setsched signal signull }; allow corosync_t self:fifo_file rw_fifo_file_perms; allow corosync_t self:sem create_sem_perms; allow corosync_t self:shm create_shm_perms; +allow corosync_t self:unix_dgram_socket sendto; allow corosync_t self:unix_stream_socket { accept connectto listen }; manage_dirs_pattern(corosync_t, corosync_tmp_t, corosync_tmp_t)