diff --git a/app.te b/app.te index 33d113667f69f4b3cfc5eddd5437d5c03fa455d0..d33bac1ec7f9394813a2f1eb9ba378ab44958d79 100644 --- a/app.te +++ b/app.te @@ -123,6 +123,10 @@ allow appdomain user_profile_data_file:file create_file_perms; # Profiles for foreign dex files are just markers and only need create permissions. allow appdomain user_profile_foreign_dex_data_file:dir { search write add_name }; allow appdomain user_profile_foreign_dex_data_file:file create; +# There is no way to create user_profile_foreign_dex_data_file without +# generating open/read denials. These permissions should not be granted and the +# denial is harmless. dontaudit to suppress the denial. +dontaudit appdomain user_profile_foreign_dex_data_file:file { open read }; # Send heap dumps to system_server via an already open file descriptor # % adb shell am set-watch-heap com.android.systemui 1048576