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 300941381F3 for ; Wed, 1 May 2013 20:17:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD63CE08E1; Wed, 1 May 2013 20:17:39 +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 6CD04E08E1 for ; Wed, 1 May 2013 20:17:39 +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 793BE33DFE0 for ; Wed, 1 May 2013 20:17:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1D28CE4742 for ; Wed, 1 May 2013 20:17:37 +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: <1367439367.cbb10f8faf5d4cb08763d03742f14e4e71372a3b.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/minidlna.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: cbb10f8faf5d4cb08763d03742f14e4e71372a3b X-VCS-Branch: master Date: Wed, 1 May 2013 20:17:37 +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: e4a59781-80a1-4f7b-8153-c17e8f674abd X-Archives-Hash: 4719b5f25108cd3862de587188866330 commit: cbb10f8faf5d4cb08763d03742f14e4e71372a3b Author: Sven Vermeulen siphos be> AuthorDate: Wed May 1 20:16:07 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Wed May 1 20:16:07 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=cbb10f8f Use auth_use_nsswitch instead of files_read_etc_files Since the need for reading etc files was for the nsswitch.conf file, we need to use auth_use_nsswitch as nsswitch might result (depending on the users' configuration) in more privilege access needs (such as LDAP connectivity). --- policy/modules/contrib/minidlna.te | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/policy/modules/contrib/minidlna.te b/policy/modules/contrib/minidlna.te index d3a5978..e99e5f9 100644 --- a/policy/modules/contrib/minidlna.te +++ b/policy/modules/contrib/minidlna.te @@ -97,9 +97,10 @@ corenet_sendrecv_trivnet1_client_packets(minidlna_t) corenet_sendrecv_trivnet1_server_packets(minidlna_t) corenet_tcp_bind_trivnet1_port(minidlna_t) -files_read_etc_files(minidlna_t) files_search_var_lib(minidlna_t) +auth_use_nsswitch(minidlna_t) + miscfiles_read_localization(minidlna_t) miscfiles_read_public_files(minidlna_t)