diff --git a/system_server.te b/system_server.te index 1257e51f211c34c76e64b1ab38711729b4b62825..71573de6a2eecde016d6de0b6fa0d4a5caca4254 100644 --- a/system_server.te +++ b/system_server.te @@ -15,8 +15,8 @@ allow system_server dalvikcache_data_file:dir r_dir_perms; # We need search on top level directories so that we can get to the files allow system_server user_profile_data_file:dir search; allow system_server user_profile_data_file:file getattr; -allow system_server user_profile_foreign_dex_data_file:dir search; -allow system_server user_profile_foreign_dex_data_file:file getattr; +allow system_server user_profile_foreign_dex_data_file:dir { open read write search remove_name }; +allow system_server user_profile_foreign_dex_data_file:file { getattr unlink }; # /data/resource-cache allow system_server resourcecache_data_file:file r_file_perms;