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 A81AF1384B4 for ; Thu, 17 Dec 2015 16:11:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E592821C022; Thu, 17 Dec 2015 16:10:54 +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 399F521C022 for ; Thu, 17 Dec 2015 16:10:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DD623406BF for ; Thu, 17 Dec 2015 16:10:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53721CFB for ; Thu, 17 Dec 2015 16:10:40 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1450367855.b5f2d0dd7c3c533bd0cac83d19ca52e2e3e00342.perfinion@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/geoclue.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: b5f2d0dd7c3c533bd0cac83d19ca52e2e3e00342 X-VCS-Branch: master Date: Thu, 17 Dec 2015 16:10:40 +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: ad773e0a-d948-4ac1-9577-38c28a8947b1 X-Archives-Hash: 4d375da01f568a4f74493fd2bfb7d709 commit: b5f2d0dd7c3c533bd0cac83d19ca52e2e3e00342 Author: Laurent Bigonville bigon be> AuthorDate: Thu Dec 10 10:47:41 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Dec 17 15:57:35 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b5f2d0dd Use auth_use_nsswitch() as we need DNS resolving and access nsswitch.conf Use auth_use_nsswitch() instead of files_read_etc_files() and sysnet_dns_name_resolve() policy/modules/contrib/geoclue.te | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/policy/modules/contrib/geoclue.te b/policy/modules/contrib/geoclue.te index 68e6a16..34ed075 100644 --- a/policy/modules/contrib/geoclue.te +++ b/policy/modules/contrib/geoclue.te @@ -22,18 +22,15 @@ files_type(geoclue_var_lib_t) read_files_pattern(geoclue_t, geoclue_etc_t, geoclue_etc_t) +auth_use_nsswitch(geoclue_t) + corenet_tcp_connect_http_port(geoclue_t) dev_read_urand(geoclue_t) -# Reads /etc/nsswitch.conf -files_read_etc_files(geoclue_t) - miscfiles_read_generic_certs(geoclue_t) miscfiles_read_localization(geoclue_t) -sysnet_dns_name_resolve(geoclue_t) - optional_policy(` avahi_dbus_chat(geoclue_t) ') 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 CA10B1384B4 for ; Thu, 17 Dec 2015 18:50:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76F6321C081; Thu, 17 Dec 2015 18:50:08 +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 DE82A21C081 for ; Thu, 17 Dec 2015 18:49:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06C1B340139 for ; Thu, 17 Dec 2015 18:49:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00870CF7 for ; Thu, 17 Dec 2015 18:49:43 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1450367855.b5f2d0dd7c3c533bd0cac83d19ca52e2e3e00342.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/geoclue.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: b5f2d0dd7c3c533bd0cac83d19ca52e2e3e00342 X-VCS-Branch: next Date: Thu, 17 Dec 2015 18:49:43 +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: 7e6dbb87-f400-495e-9720-a0d242c63e7a X-Archives-Hash: 304ae6e7a16a4beb897ceb87c1775282 Message-ID: <20151217184943.A452PgXLhfCsJqxfKQ4-rtV0S5Pt37VBN8764yooDps@z> commit: b5f2d0dd7c3c533bd0cac83d19ca52e2e3e00342 Author: Laurent Bigonville bigon be> AuthorDate: Thu Dec 10 10:47:41 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Dec 17 15:57:35 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b5f2d0dd Use auth_use_nsswitch() as we need DNS resolving and access nsswitch.conf Use auth_use_nsswitch() instead of files_read_etc_files() and sysnet_dns_name_resolve() policy/modules/contrib/geoclue.te | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/policy/modules/contrib/geoclue.te b/policy/modules/contrib/geoclue.te index 68e6a16..34ed075 100644 --- a/policy/modules/contrib/geoclue.te +++ b/policy/modules/contrib/geoclue.te @@ -22,18 +22,15 @@ files_type(geoclue_var_lib_t) read_files_pattern(geoclue_t, geoclue_etc_t, geoclue_etc_t) +auth_use_nsswitch(geoclue_t) + corenet_tcp_connect_http_port(geoclue_t) dev_read_urand(geoclue_t) -# Reads /etc/nsswitch.conf -files_read_etc_files(geoclue_t) - miscfiles_read_generic_certs(geoclue_t) miscfiles_read_localization(geoclue_t) -sysnet_dns_name_resolve(geoclue_t) - optional_policy(` avahi_dbus_chat(geoclue_t) ')