Re: [PATCH 3/5] grant rpm permissions to map locale_t

Chris PeBenito <[email protected]>
Newsgroups org.kernel.vger.selinux-refpolicy
Message-ID <[email protected]>
On 7/2/19 11:30 AM, Sugar, David wrote:
> type=AVC msg=audit(1560913896.408:217): avc:  denied  { map } for pid=1265 comm="rpm" path="/usr/lib/locale/locale-archive" dev="dm-0" ino=24721 scontext=system_u:system_r:rpm_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=file permissive=1
> 
> Signed-off-by: Dave Sugar <[email protected]>
> ---
>   policy/modules/admin/rpm.te | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/policy/modules/admin/rpm.te b/policy/modules/admin/rpm.te
> index a28a24d3..7020276c 100644
> --- a/policy/modules/admin/rpm.te
> +++ b/policy/modules/admin/rpm.te
> @@ -207,6 +207,8 @@ libs_run_ldconfig(rpm_t, rpm_roles)
>   
>   logging_send_syslog_msg(rpm_t)
>   
> +miscfiles_read_localization(rpm_t)
> +
>   seutil_manage_src_policy(rpm_t)
>   seutil_manage_bin_policy(rpm_t)

Merged.

-- 
Chris PeBenito
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.