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 DC1961381F3 for ; Tue, 18 Dec 2012 20:00:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CD10E0768; Tue, 18 Dec 2012 19:58:20 +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 87D8DE0768 for ; Tue, 18 Dec 2012 19:58:19 +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 7B84633DBCF for ; Tue, 18 Dec 2012 19:58:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DE0BEE544B for ; Tue, 18 Dec 2012 19:58:15 +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: <1355860672.aa3d98717344bd77ea65130486066092c23d1b31.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/apcupsd.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: aa3d98717344bd77ea65130486066092c23d1b31 X-VCS-Branch: master Date: Tue, 18 Dec 2012 19:58:15 +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: 2e6766f3-909e-4bde-bbeb-e853a2fc8cbd X-Archives-Hash: 5f9a4ec9b9ae91071bd556a26397a210 commit: aa3d98717344bd77ea65130486066092c23d1b31 Author: Dominick Grift gmail com> AuthorDate: Tue Dec 18 17:19:04 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Tue Dec 18 19:57:52 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=aa3d9871 Changes to the apcupsd policy module Support apcupsd configured for snmp Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/apcupsd.te | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/apcupsd.te b/policy/modules/contrib/apcupsd.te index ceb368d..b236327 100644 --- a/policy/modules/contrib/apcupsd.te +++ b/policy/modules/contrib/apcupsd.te @@ -1,4 +1,4 @@ -policy_module(apcupsd, 1.8.3) +policy_module(apcupsd, 1.8.4) ######################################## # @@ -58,13 +58,20 @@ corenet_all_recvfrom_unlabeled(apcupsd_t) corenet_all_recvfrom_netlabel(apcupsd_t) corenet_tcp_sendrecv_generic_if(apcupsd_t) corenet_tcp_sendrecv_generic_node(apcupsd_t) -corenet_tcp_sendrecv_all_ports(apcupsd_t) corenet_tcp_bind_generic_node(apcupsd_t) +corenet_udp_sendrecv_generic_if(apcupsd_t) +corenet_udp_sendrecv_generic_node(apcupsd_t) +corenet_udp_bind_generic_node(apcupsd_t) corenet_tcp_bind_apcupsd_port(apcupsd_t) corenet_sendrecv_apcupsd_server_packets(apcupsd_t) +corenet_tcp_sendrecv_apcupsd_port(apcupsd_t) corenet_tcp_connect_apcupsd_port(apcupsd_t) +corenet_udp_bind_snmp_port(apcupsd_t) +corenet_sendrecv_snmp_server_packets(apcupsd_t) +corenet_udp_sendrecv_snmp_port(apcupsd_t) + dev_rw_generic_usb_dev(apcupsd_t) files_read_etc_files(apcupsd_t)