diff --git a/untrusted_app.te b/untrusted_app.te index 2a8c170a2d13f9b32634914add3796cb70b7c4b5..0dd96bdeddca4f1b780aa639762157d760b09ab2 100644 --- a/untrusted_app.te +++ b/untrusted_app.te @@ -48,6 +48,14 @@ create_pty(untrusted_app) allow untrusted_app shell_data_file:file r_file_perms; allow untrusted_app shell_data_file:dir r_dir_perms; +# b/18504118: Allow reads from /data/anr/traces.txt +# TODO: We shouldn't be allowing all untrusted_apps to read +# this file. This is only needed for the GMS feedback agent. +# See also b/18340553. GMS runs as untrusted_app, and +# it's too late to change the domain it runs in. +# This line needs to be deleted. +allow untrusted_app anr_data_file:file r_file_perms; + # # Rules migrated from old app domains coalesced into untrusted_app. # This includes what used to be media_app, shared_app, and release_app.