diff --git a/public/otapreopt_slot.te b/public/otapreopt_slot.te index 5745ba7860a220600ae35b566317c207a9ef2480..5f037c56a0c436c3957524063958420dd62b2580 100644 --- a/public/otapreopt_slot.te +++ b/public/otapreopt_slot.te @@ -10,7 +10,7 @@ type otapreopt_slot_exec, exec_type, file_type; # The otapreopt_slot renames the OTA dalvik-cache to the regular dalvik-cache, and cleans up # the directory afterwards. For logging of aggregate size, we need getattr. allow otapreopt_slot ota_data_file:dir { rw_dir_perms rename reparent rmdir }; -allow otapreopt_slot ota_data_file:file { getattr }; +allow otapreopt_slot ota_data_file:{ file lnk_file } getattr; # Delete old content of the dalvik-cache. allow otapreopt_slot dalvikcache_data_file:dir { add_name getattr open read remove_name rmdir search write };