From: guido@trentalancia.net (Guido Trentalancia) Date: Fri, 30 Dec 2016 01:07:21 +0100 Subject: [refpolicy] [PATCH] xserver: add xkb var library file context Message-ID: <1483056441.19280.1.camel@trentalancia.net> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Add the file context for the xkb var library directory. Signed-off-by: Guido Trentalancia --- policy/modules/services/xserver.fc | 2 ++ 1 file changed, 2 insertions(+) diff -pru a/policy/modules/services/xserver.fc b/policy/modules/services/xserver.fc --- a/policy/modules/services/xserver.fc 2016-12-22 23:12:47.782929703 +0100 +++ b/policy/modules/services/xserver.fc 2016-12-30 01:01:51.796577745 +0100 @@ -79,6 +78,8 @@ HOME_DIR/\.Xauthority.* -- gen_context(s /usr/sbin/lightdm -- gen_context(system_u:object_r:xdm_exec_t,s0) +/usr/share/X11/xkb(/.*)? gen_context(system_u:object_r:xkb_var_lib_t,s0) + /usr/X11R6/bin/[xgkw]dm -- gen_context(system_u:object_r:xdm_exec_t,s0) /usr/X11R6/bin/iceauth -- gen_context(system_u:object_r:iceauth_exec_t,s0) /usr/X11R6/bin/X -- gen_context(system_u:object_r:xserver_exec_t,s0)