commit: b690cc49e498479f60f74d5880b87c6f64cd3870 Author: Amadeusz Sławiński <amade <AT> asmblr <DOT> net> AuthorDate: Tue Oct 17 20:46:33 2017 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> 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 <amade <AT> 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)