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 0FBEF1396D9 for ; Sun, 29 Oct 2017 20:43:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD3C52BC151; Sun, 29 Oct 2017 20:43:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 B16612BC146 for ; Sun, 29 Oct 2017 20:43:02 +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 E26713416CA for ; Sun, 29 Oct 2017 20:43:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D149902A for ; Sun, 29 Oct 2017 20:42:58 +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: <1509285448.b690cc49e498479f60f74d5880b87c6f64cd3870.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/xserver.if X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: b690cc49e498479f60f74d5880b87c6f64cd3870 X-VCS-Branch: master Date: Sun, 29 Oct 2017 20:42:58 +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: ad40a6ae-d8ec-4232-8dc0-293f82b8028a X-Archives-Hash: 80a798b3caf0af7d77dfb884a4cd46a9 commit: b690cc49e498479f60f74d5880b87c6f64cd3870 Author: Amadeusz Sławiński asmblr net> AuthorDate: Tue Oct 17 20:46:33 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Oct 29 13:57:28 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b690cc49 if application uses fonts, they may be mapped Signed-off-by: Amadeusz Sławiński asmblr.net> policy/modules/services/xserver.if | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/services/xserver.if b/policy/modules/services/xserver.if index e0c5be82..0718d016 100644 --- a/policy/modules/services/xserver.if +++ b/policy/modules/services/xserver.if @@ -466,7 +466,7 @@ interface(`xserver_use_user_fonts',` # Read per user fonts allow $1 user_fonts_t:dir list_dir_perms; - allow $1 user_fonts_t:file read_file_perms; + allow $1 user_fonts_t:file { map read_file_perms }; # Manipulate the global font cache manage_dirs_pattern($1, user_fonts_cache_t, user_fonts_cache_t)