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 84CCA1389D6 for ; Tue, 12 Feb 2013 18:56:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54FE0E0525; Tue, 12 Feb 2013 18:56:28 +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 D7457E0525 for ; Tue, 12 Feb 2013 18:56:27 +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 A299D33E576 for ; Tue, 12 Feb 2013 18:56:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3783DE4073 for ; Tue, 12 Feb 2013 18:56:25 +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: <1360695255.6648fba2f3c510e9666e4c0974d604421e7813f1.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/openrc.te policy/modules/contrib/portage.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 6648fba2f3c510e9666e4c0974d604421e7813f1 X-VCS-Branch: master Date: Tue, 12 Feb 2013 18:56:25 +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: 22b84a97-bd62-4016-8a61-9549571122c1 X-Archives-Hash: ae63f401d9fdb8a2bc0b5cb5af6a54a1 commit: 6648fba2f3c510e9666e4c0974d604421e7813f1 Author: Sven Vermeulen siphos be> AuthorDate: Tue Feb 12 18:54:15 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Tue Feb 12 18:54:15 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=6648fba2 Fix bug #456910 - Allow access to nscd socket The portage_t and openrc_cgroup_release_t domains want to access the nscd socket. This is due to their use of nsswitch-related services. --- policy/modules/contrib/openrc.te | 2 ++ policy/modules/contrib/portage.te | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/policy/modules/contrib/openrc.te b/policy/modules/contrib/openrc.te index 0879239..bf5a336 100644 --- a/policy/modules/contrib/openrc.te +++ b/policy/modules/contrib/openrc.te @@ -27,3 +27,5 @@ files_search_pids(openrc_cgroup_release_t) fs_manage_cgroup_dirs(openrc_cgroup_release_t) fs_manage_cgroup_files(openrc_cgroup_release_t) + +auth_use_nsswitch(openrc_cgroup_release_t) diff --git a/policy/modules/contrib/portage.te b/policy/modules/contrib/portage.te index 5c80ff7..5f9f0b5 100644 --- a/policy/modules/contrib/portage.te +++ b/policy/modules/contrib/portage.te @@ -393,6 +393,8 @@ ifdef(`distro_gentoo',` # allow portage_t self:capability2 block_suspend; + auth_use_nsswitch(portage_t) + libs_generic_etc_filetrans_ld_so_cache(portage_t, file, "ld.so.cache~") ##########################################