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 4D3CC138334 for ; Sun, 24 Jun 2018 08:47:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0770E09C3; Sun, 24 Jun 2018 08:46:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 5D1D9E09B1 for ; Sun, 24 Jun 2018 08:46:50 +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 10A2D335CB1 for ; Sun, 24 Jun 2018 08:46:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6CDC349 for ; Sun, 24 Jun 2018 08:46:44 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1529159745.beebac5c01a502b2ac5ee30864fc15cfbb63c96e.perfinion@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/thunderbird.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: beebac5c01a502b2ac5ee30864fc15cfbb63c96e X-VCS-Branch: master Date: Sun, 24 Jun 2018 08:46:44 +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: 9cbe8d84-ba78-47f8-99a1-c48a5f10cc4e X-Archives-Hash: 5dc611899735647eb6e9474270b5c0b2 commit: beebac5c01a502b2ac5ee30864fc15cfbb63c96e Author: Jason Zaman perfinion com> AuthorDate: Sat Jun 16 06:39:33 2018 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Jun 16 14:35:45 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=beebac5c thunderbird: migrate to upstream xdg rules policy/modules/contrib/thunderbird.te | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/policy/modules/contrib/thunderbird.te b/policy/modules/contrib/thunderbird.te index 4fa94a18..1f39efce 100644 --- a/policy/modules/contrib/thunderbird.te +++ b/policy/modules/contrib/thunderbird.te @@ -180,8 +180,7 @@ optional_policy(` ') ifdef(`distro_gentoo',` - type thunderbird_xdg_cache_home_t; - xdg_cache_home_content(thunderbird_xdg_cache_home_t) + typealias thunderbird_xdg_cache_t alias thunderbird_xdg_cache_home_t; type thunderbird_tmp_t; userdom_user_tmp_file(thunderbird_tmp_t) @@ -198,10 +197,6 @@ ifdef(`distro_gentoo',` manage_files_pattern(thunderbird_t, thunderbird_tmp_t, thunderbird_tmp_t) files_tmp_filetrans(thunderbird_t, thunderbird_tmp_t, { dir file }) - manage_files_pattern(thunderbird_t, thunderbird_xdg_cache_home_t, thunderbird_xdg_cache_home_t) - manage_dirs_pattern(thunderbird_t, thunderbird_xdg_cache_home_t, thunderbird_xdg_cache_home_t) - xdg_cache_home_filetrans(thunderbird_t, thunderbird_xdg_cache_home_t, dir) - # File preview apps for instance corecmd_exec_bin(thunderbird_t) @@ -209,10 +204,6 @@ ifdef(`distro_gentoo',` dev_rw_dri(thunderbird_t) userdom_use_user_ptys(thunderbird_t) - # User content access - userdom_user_content_access_template(thunderbird, thunderbird_t) - - xdg_read_data_home_files(thunderbird_t) optional_policy(` pulseaudio_domtrans(thunderbird_t)