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 E29FC138010 for ; Sat, 6 Oct 2012 17:07:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F18C7E05F2; Sat, 6 Oct 2012 17:05:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 88A99E05F2 for ; Sat, 6 Oct 2012 17:05:47 +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 E045633D795 for ; Sat, 6 Oct 2012 17:05:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D17FCE5441 for ; Sat, 6 Oct 2012 17:05:44 +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: <1349543026.ebf82ebbf4c968a52b573255ee0eae1aefffe4fc.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/glance.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: ebf82ebbf4c968a52b573255ee0eae1aefffe4fc X-VCS-Branch: master Date: Sat, 6 Oct 2012 17:05:44 +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: 43fdec23-ac59-49bf-a4d2-0fa0c67ec790 X-Archives-Hash: cf43a69e4c6a24279b2edc741452512b commit: ebf82ebbf4c968a52b573255ee0eae1aefffe4fc Author: Dominick Grift gmail com> AuthorDate: Sat Oct 6 14:48:54 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sat Oct 6 17:03:46 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=ebf82ebb Changes to the glance policy module Remove duplicate rules Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/glance.te | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/glance.te b/policy/modules/contrib/glance.te index 80ec70f..e0a4f46 100644 --- a/policy/modules/contrib/glance.te +++ b/policy/modules/contrib/glance.te @@ -1,4 +1,4 @@ -policy_module(glance, 1.0.1) +policy_module(glance, 1.0.2) ######################################## # @@ -43,7 +43,7 @@ files_pid_file(glance_var_run_t) allow glance_domain self:fifo_file rw_fifo_file_perms; allow glance_domain self:unix_stream_socket create_stream_socket_perms; -allow glance_domain self:tcp_socket create_stream_socket_perms; +allow glance_domain self:tcp_socket { accept listen }; manage_dirs_pattern(glance_domain, glance_log_t, glance_log_t) append_files_pattern(glance_domain, glance_log_t, glance_log_t)