[refpolicy] Label /var/lib/lightdm-data

Chris PeBenito pebenito at ieee.org
Sun Dec 3 21:32:39 UTC 2017


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 <dsugar at tresys.com>
> ---
>   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


More information about the refpolicy mailing list