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 D6A3E138010 for ; Sat, 6 Oct 2012 17:07:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E3EEE0529; Sat, 6 Oct 2012 17:05:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A0F51E0529 for ; Sat, 6 Oct 2012 17:05:45 +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 2C4FB33D74E for ; Sat, 6 Oct 2012 17:05:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E84D5E544E for ; Sat, 6 Oct 2012 17:05:42 +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: <1349542921.52cf1a0b250b5a2ae487a6af757228439ee527e4.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/cyphesis.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 52cf1a0b250b5a2ae487a6af757228439ee527e4 X-VCS-Branch: master Date: Sat, 6 Oct 2012 17:05:42 +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: 521bc839-5a05-4713-b708-c927f5ecb033 X-Archives-Hash: a853f812fc632ded1fa5bf6fc818d0ce commit: 52cf1a0b250b5a2ae487a6af757228439ee527e4 Author: Dominick Grift gmail com> AuthorDate: Sat Oct 6 14:09:24 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sat Oct 6 17:02:01 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=52cf1a0b Changes to the cyphesis policy module Remove duplicate rules Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/cyphesis.te | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/cyphesis.te b/policy/modules/contrib/cyphesis.te index 12feb5b..916427f 100644 --- a/policy/modules/contrib/cyphesis.te +++ b/policy/modules/contrib/cyphesis.te @@ -1,4 +1,4 @@ -policy_module(cyphesis, 1.2.1) +policy_module(cyphesis, 1.2.2) ######################################## # @@ -29,7 +29,7 @@ files_pid_file(cyphesis_var_run_t) allow cyphesis_t self:process { setfscreate setsched signal }; allow cyphesis_t self:fifo_file rw_fifo_file_perms; -allow cyphesis_t self:tcp_socket create_stream_socket_perms; +allow cyphesis_t self:tcp_socket { accept listen }; allow cyphesis_t self:unix_stream_socket { accept listen }; append_files_pattern(cyphesis_t, cyphesis_log_t, cyphesis_log_t)