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 E18A6138010 for ; Thu, 4 Oct 2012 17:37:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66143E06D7; Thu, 4 Oct 2012 17:36:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 382A2E06D6 for ; Thu, 4 Oct 2012 17:36:13 +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 6FEEF33C336 for ; Thu, 4 Oct 2012 17:36:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1C4F3E5445 for ; Thu, 4 Oct 2012 17:36:12 +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: <1349371837.39976dd739834494951d41a7349fee77b2322267.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/portage.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 39976dd739834494951d41a7349fee77b2322267 X-VCS-Branch: master Date: Thu, 4 Oct 2012 17:36:12 +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: f5a17276-41ce-4f3f-8b31-ba4f47202fec X-Archives-Hash: f2e0cf41c93a9fd855d0db2cb9ef6a3f commit: 39976dd739834494951d41a7349fee77b2322267 Author: Matthew Thode mthode org> AuthorDate: Tue Oct 2 14:37:39 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Thu Oct 4 17:30:37 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=39976dd7 added autofs support and nsswitch support added nsswitch for AVC denials added search_auto_mountpoints for autofs support added fs_getattr_nfs(portage_t) for nfs on autofs support thanks to grift for the help and patience :D Signed-off-by: Matthew Thode mthode.org> --- policy/modules/contrib/portage.te | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/policy/modules/contrib/portage.te b/policy/modules/contrib/portage.te index b33ba47..b08e444 100644 --- a/policy/modules/contrib/portage.te +++ b/policy/modules/contrib/portage.te @@ -196,6 +196,8 @@ files_manage_all_files(portage_t) selinux_get_fs_mount(portage_t) auth_manage_shadow(portage_t) +auth_use_nsswitch(portage_fetch_t) +auth_use_nsswitch(portage_sandbox_t) # merging baselayout will need this: init_exec(portage_t) @@ -304,6 +306,8 @@ files_dontaudit_search_pids(portage_fetch_t) fs_search_auto_mountpoints(portage_fetch_t) dev_rw_autofs(portage_fetch_t) +fs_search_auto_mountpoints(portage_fetch_t) + logging_list_logs(portage_fetch_t) logging_dontaudit_search_logs(portage_fetch_t) @@ -324,6 +328,7 @@ ifdef(`hide_broken_symptoms',` ') tunable_policy(`portage_use_nfs',` + fs_getattr_nfs(portage_t) fs_getattr_nfs(portage_fetch_t) fs_manage_nfs_dirs(portage_fetch_t) fs_manage_nfs_files(portage_fetch_t)