diff --git a/system_app.te b/system_app.te index 5a5888f2ff1522b441421064bed4f6fd1efec73e..fcf0f16b9a1414333adaa70a88b0c99b8f8ace43 100644 --- a/system_app.te +++ b/system_app.te @@ -24,9 +24,6 @@ auditallow system_app system_data_file:file { create setattr append write link u # Read wallpaper file. allow system_app wallpaper_file:file r_file_perms; -# Write to dalvikcache. -allow system_app dalvikcache_data_file:file { write setattr }; - # Write to properties unix_socket_connect(system_app, property, init) allow system_app debug_prop:property_service set; diff --git a/system_server.te b/system_server.te index 9d3dfa14331d1c69f765398d3b8d9b77787f3ae9..0068378340acd69bbfa2e619f91084321d5688ae 100644 --- a/system_server.te +++ b/system_server.te @@ -197,10 +197,6 @@ allow system_server anr_data_file:file create_file_perms; allow system_server backup_data_file:dir create_dir_perms; allow system_server backup_data_file:file create_file_perms; -# Manage /data/dalvik-cache. -allow system_server dalvikcache_data_file:dir create_dir_perms; -allow system_server dalvikcache_data_file:file create_file_perms; - # Read from /data/dalvik-cache/profiles allow system_server dalvikcache_profiles_data_file:dir rw_dir_perms; allow system_server dalvikcache_profiles_data_file:file create_file_perms;