From: pebenito@ieee.org (Chris PeBenito) Date: Sun, 3 Dec 2017 16:32:39 -0500 Subject: [refpolicy] Label /var/lib/lightdm-data In-Reply-To: References: Message-ID: <859760eb-092d-b9be-157a-eca700318c43@ieee.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 11/29/2017 05:13 PM, David Sugar via refpolicy wrote: > RHEL 7.x includes the directory /var/lib/lightdm-data in the lightdm RPM. Label these files xdm_var_lib_t > > Signed-off-by: Dave Sugar > --- > policy/modules/services/xserver.fc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/policy/modules/services/xserver.fc b/policy/modules/services/xserver.fc > index 6df0afa9..4905afd7 100644 > --- a/policy/modules/services/xserver.fc > +++ b/policy/modules/services/xserver.fc > @@ -115,6 +115,7 @@ ifndef(`distro_debian',` > > /var/lib/gdm(3)?(/.*)? gen_context(system_u:object_r:xdm_var_lib_t,s0) > /var/lib/lightdm(/.*)? gen_context(system_u:object_r:xdm_var_lib_t,s0) > +/var/lib/lightdm-data(/.*)? gen_context(system_u:object_r:xdm_var_lib_t,s0) > /var/lib/lxdm(/.*)? gen_context(system_u:object_r:xdm_var_lib_t,s0) > /var/lib/[xkw]dm(/.*)? gen_context(system_u:object_r:xdm_var_lib_t,s0) > /var/lib/xkb(/.*)? gen_context(system_u:object_r:xkb_var_lib_t,s0) Merged. -- Chris PeBenito