diff --git a/dumpstate.te b/dumpstate.te index ac94e4c8229a14b5a5567786d455b3c71d7adfab..b1ae22b36cf418bd9647604e101679fe11d53f73 100644 --- a/dumpstate.te +++ b/dumpstate.te @@ -143,6 +143,14 @@ allow dumpstate cache_recovery_file:file r_file_perms; allow dumpstate recovery_data_file:dir r_dir_perms; allow dumpstate recovery_data_file:file r_file_perms; +# Access /data/misc/profiles/{cur,ref}/ +userdebug_or_eng(` + allow dumpstate user_profile_data_file:dir r_dir_perms; + allow dumpstate user_profile_data_file:file r_file_perms; + allow dumpstate user_profile_foreign_dex_data_file:dir r_dir_perms; + allow dumpstate user_profile_foreign_dex_data_file:file r_file_perms; +') + # Access /data/misc/logd userdebug_or_eng(` allow dumpstate misc_logd_file:dir r_dir_perms;