From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1BAB7138206 for ; Thu, 18 Jan 2018 16:15:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 746F4E087B; Thu, 18 Jan 2018 16:15:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50004E087B for ; Thu, 18 Jan 2018 16:15:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 783CC335C3A for ; Thu, 18 Jan 2018 16:15:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06D64148 for ; Thu, 18 Jan 2018 16:15:41 +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: <1513069517.46ecc9be82dfb821a26ecee1787c3261d79cf04c.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/chromium.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 46ecc9be82dfb821a26ecee1787c3261d79cf04c X-VCS-Branch: swift Date: Thu, 18 Jan 2018 16:15:41 +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: cf1b2634-d98c-4dd7-8be9-e47d71f24de8 X-Archives-Hash: 2e4a7cd3b4f370556b0d1b3784dc6924 commit: 46ecc9be82dfb821a26ecee1787c3261d79cf04c Author: Jason Zaman perfinion com> AuthorDate: Tue Dec 12 09:05:17 2017 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Dec 12 09:05:17 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=46ecc9be chromium: map mime types policy/modules/contrib/chromium.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/contrib/chromium.te b/policy/modules/contrib/chromium.te index 76f2583a..29e7fee7 100644 --- a/policy/modules/contrib/chromium.te +++ b/policy/modules/contrib/chromium.te @@ -132,6 +132,7 @@ manage_dirs_pattern(chromium_t, chromium_xdg_config_t, chromium_xdg_config_t) xdg_config_home_filetrans(chromium_t, chromium_xdg_config_t, dir, "chromium") manage_files_pattern(chromium_t, chromium_xdg_cache_t, chromium_xdg_cache_t) +allow chromium_t chromium_xdg_cache_t:file map; manage_dirs_pattern(chromium_t, chromium_xdg_cache_t, chromium_xdg_cache_t) xdg_cache_home_filetrans(chromium_t, chromium_xdg_cache_t, dir, "chromium") @@ -162,6 +163,7 @@ domain_dontaudit_search_all_domains_state(chromium_t) files_list_home(chromium_t) files_search_home(chromium_t) files_read_usr_files(chromium_t) +files_map_usr_files(chromium_t) files_read_etc_files(chromium_t) # During find for /etc/whatever-release we get lots of output otherwise files_dontaudit_getattr_all_dirs(chromium_t)