diff --git a/installd.te b/installd.te index ce9122bd967b22d93f6eacdf19f400db9f96a01c..2a87eb7b1ab62c3288d5248f12ae83f90cad0e48 100644 --- a/installd.te +++ b/installd.te @@ -10,7 +10,7 @@ allow installd system_data_file:lnk_file create; allow installd dalvikcache_data_file:file create_file_perms; allow installd data_file_type:dir create_dir_perms; allow installd data_file_type:dir { relabelfrom relabelto }; -allow installd data_file_type:file { getattr unlink }; +allow installd data_file_type:{ file lnk_file } { getattr unlink }; allow installd apk_data_file:file r_file_perms; allow installd apk_tmp_file:file r_file_perms; allow installd system_file:file x_file_perms; @@ -20,5 +20,3 @@ dontaudit installd self:capability sys_admin; selinux_check_context(installd) # Read /seapp_contexts, presently on the rootfs. allow installd rootfs:file r_file_perms; -# Unlink app_data_file -allow installd app_data_file:lnk_file unlink;