From: jason@perfinion.com (Jason Zaman) Date: Sun, 24 Jun 2018 17:56:11 +0800 Subject: [refpolicy] [PATCH 5/5] apps: rw mesa_shader_cache In-Reply-To: <20180624095611.48338-1-jason@perfinion.com> References: <20180624095611.48338-1-jason@perfinion.com> Message-ID: <20180624095611.48338-5-jason@perfinion.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com --- policy/modules/apps/games.te | 1 + policy/modules/apps/mplayer.te | 1 + 2 files changed, 2 insertions(+) diff --git a/policy/modules/apps/games.te b/policy/modules/apps/games.te index 0cdebe62..7389bd74 100644 --- a/policy/modules/apps/games.te +++ b/policy/modules/apps/games.te @@ -194,4 +194,5 @@ optional_policy(` xserver_user_x_domain_template(games, games_t, games_tmpfs_t) xserver_create_xdm_tmp_sockets(games_t) xserver_read_xdm_lib_files(games_t) + xserver_rw_mesa_shader_cache(games_t) ') diff --git a/policy/modules/apps/mplayer.te b/policy/modules/apps/mplayer.te index f594fff7..a6e447bd 100644 --- a/policy/modules/apps/mplayer.te +++ b/policy/modules/apps/mplayer.te @@ -216,6 +216,7 @@ xdg_read_music(mplayer_t) xdg_read_videos(mplayer_t) xserver_user_x_domain_template(mplayer, mplayer_t, mplayer_tmpfs_t) +xserver_rw_mesa_shader_cache(mplayer_t) ifndef(`enable_mls',` fs_list_dos(mplayer_t) -- 2.16.4