From fa14c7d141c3bd0986546d87c5db1a3a129d6f10 Mon Sep 17 00:00:00 2001 From: Luis Ressel Date: Mon, 11 Sep 2017 08:40:50 +0200 Subject: [PATCH] libraries: ldconfig maps its "aux-cache" during cache updates --- policy/modules/system/libraries.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/libraries.te b/policy/modules/system/libraries.te index 1476641bd..a44eb02eb 100644 --- a/policy/modules/system/libraries.te +++ b/policy/modules/system/libraries.te @@ -60,6 +60,7 @@ optional_policy(` allow ldconfig_t self:capability { dac_override sys_chroot }; manage_files_pattern(ldconfig_t, ldconfig_cache_t, ldconfig_cache_t) +allow ldconfig_t ldconfig_cache_t:file map; allow ldconfig_t ld_so_cache_t:file manage_file_perms; files_etc_filetrans(ldconfig_t, ld_so_cache_t, file)