1 |
commit: b690cc49e498479f60f74d5880b87c6f64cd3870 |
2 |
Author: Amadeusz Sławiński <amade <AT> asmblr <DOT> net> |
3 |
AuthorDate: Tue Oct 17 20:46:33 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 29 13:57:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b690cc49 |
7 |
|
8 |
if application uses fonts, they may be mapped |
9 |
|
10 |
Signed-off-by: Amadeusz Sławiński <amade <AT> asmblr.net> |
11 |
|
12 |
policy/modules/services/xserver.if | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/policy/modules/services/xserver.if b/policy/modules/services/xserver.if |
16 |
index e0c5be82..0718d016 100644 |
17 |
--- a/policy/modules/services/xserver.if |
18 |
+++ b/policy/modules/services/xserver.if |
19 |
@@ -466,7 +466,7 @@ interface(`xserver_use_user_fonts',` |
20 |
|
21 |
# Read per user fonts |
22 |
allow $1 user_fonts_t:dir list_dir_perms; |
23 |
- allow $1 user_fonts_t:file read_file_perms; |
24 |
+ allow $1 user_fonts_t:file { map read_file_perms }; |
25 |
|
26 |
# Manipulate the global font cache |
27 |
manage_dirs_pattern($1, user_fonts_cache_t, user_fonts_cache_t) |