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 6C8D8138010 for ; Tue, 2 Oct 2012 13:53:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16ADEE01A3; Tue, 2 Oct 2012 13:53:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D7B2CE01A3 for ; Tue, 2 Oct 2012 13:52:59 +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 431FD33CF0B for ; Tue, 2 Oct 2012 13:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E38B7E5436 for ; Tue, 2 Oct 2012 13:52:57 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1349185952.b819e0507cbd6f29eaef2a040cd77319f814ccb7.prometheanfire@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: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: b819e0507cbd6f29eaef2a040cd77319f814ccb7 X-VCS-Branch: master Date: Tue, 2 Oct 2012 13:52:57 +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: abc80581-955b-4d4b-8988-2513a4da843b X-Archives-Hash: 8fbf9d6c70e0619a0d195d1f5ba67cbc commit: b819e0507cbd6f29eaef2a040cd77319f814ccb7 Author: Matthew Thode mthode org> AuthorDate: Tue Oct 2 13:52:32 2012 +0000 Commit: Matt Thode gentoo org> CommitDate: Tue Oct 2 13:52:32 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=b819e050 lessened needed perms for portage autofs and added use of nsswitch --- policy/modules/contrib/portage.te | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/policy/modules/contrib/portage.te b/policy/modules/contrib/portage.te index 128e7d6..321b1ac 100644 --- a/policy/modules/contrib/portage.te +++ b/policy/modules/contrib/portage.te @@ -193,6 +193,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) @@ -299,7 +301,6 @@ files_search_var_lib(portage_fetch_t) files_dontaudit_search_pids(portage_fetch_t) fs_search_auto_mountpoints(portage_fetch_t) -dev_rw_autofs(portage_fetch_t) logging_list_logs(portage_fetch_t) logging_dontaudit_search_logs(portage_fetch_t) @@ -321,6 +322,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)