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 6EE4F138334 for ; Mon, 25 Jun 2018 05:33:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23A07E08FC; Mon, 25 Jun 2018 05:33:41 +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 ED65DE08FC for ; Mon, 25 Jun 2018 05:33:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 8A823335CA0 for ; Mon, 25 Jun 2018 05:33:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE219347 for ; Mon, 25 Jun 2018 05:33:37 +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: <1529904719.a567c5599a2464d36d2665b6949ff84c0e1aa820.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/xdg.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: a567c5599a2464d36d2665b6949ff84c0e1aa820 X-VCS-Branch: master Date: Mon, 25 Jun 2018 05:33:37 +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: 1ab2237c-c7f7-4f0c-8edf-d6b756b1b419 X-Archives-Hash: d1375cc9418799cb0cc49618d1adc67d commit: a567c5599a2464d36d2665b6949ff84c0e1aa820 Author: Jason Zaman perfinion com> AuthorDate: Sun Jun 24 09:56:08 2018 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Jun 25 05:31:59 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=a567c559 xdg: filetrans should not add filetrans from user_home_dir SELinux 2.8 is stricter with duplicate filetrans and these rules cause problems if a domain needs more than one xdg dir. Domains should call xdg_generic_user_home_dir_filetrans_data directly if needed. policy/modules/system/xdg.if | 4 ---- 1 file changed, 4 deletions(-) diff --git a/policy/modules/system/xdg.if b/policy/modules/system/xdg.if index 45d73f15..f59be0a0 100644 --- a/policy/modules/system/xdg.if +++ b/policy/modules/system/xdg.if @@ -146,7 +146,6 @@ interface(`xdg_cache_filetrans',` filetrans_pattern($1, xdg_cache_t, $2, $3, $4) xdg_create_cache_dirs($1) - xdg_generic_user_home_dir_filetrans_cache($1, dir, ".cache") ') ######################################## @@ -397,8 +396,6 @@ interface(`xdg_config_filetrans',` filetrans_pattern($1, xdg_config_t, $2, $3, $4) xdg_create_config_dirs($1) - xdg_generic_user_home_dir_filetrans_config($1, dir, ".config") - ') ######################################## @@ -629,7 +626,6 @@ interface(`xdg_data_filetrans',` filetrans_pattern($1, xdg_data_t, $2, $3, $4) xdg_create_data_dirs($1) - xdg_generic_user_home_dir_filetrans_data($1, dir, ".local") ') ########################################