Skip to content
Snippets Groups Projects
Commit 1b433165 authored by Florian Mayer's avatar Florian Mayer Committed by android-build-merger
Browse files

Grant traced_probes search on directories.

am: ff146962

Change-Id: Ia7fac0ce2f9818d94c9b9f55e1e42f7bdd8cf462
parents 46e4c189 ff146962
No related branches found
No related tags found
No related merge requests found
...@@ -37,17 +37,17 @@ allow traced_probes system_file:dir { open read }; ...@@ -37,17 +37,17 @@ allow traced_probes system_file:dir { open read };
# Allow traced_probes to list some of the data partition. # Allow traced_probes to list some of the data partition.
allow traced_probes self:capability dac_read_search; allow traced_probes self:capability dac_read_search;
allow traced_probes apk_data_file:dir { getattr open read }; allow traced_probes apk_data_file:dir { getattr open read search };
allow traced_probes dalvikcache_data_file:dir { getattr open read }; allow traced_probes dalvikcache_data_file:dir { getattr open read search };
userdebug_or_eng(` userdebug_or_eng(`
allow traced_probes system_data_file:dir { getattr open read }; allow traced_probes system_data_file:dir { getattr open read search };
') ')
allow traced_probes system_app_data_file:dir { getattr open read }; allow traced_probes system_app_data_file:dir { getattr open read search };
allow traced_probes backup_data_file:dir { getattr open read }; allow traced_probes backup_data_file:dir { getattr open read search };
allow traced_probes bootstat_data_file:dir { getattr open read }; allow traced_probes bootstat_data_file:dir { getattr open read search };
allow traced_probes update_engine_data_file:dir { getattr open read }; allow traced_probes update_engine_data_file:dir { getattr open read search };
allow traced_probes update_engine_log_data_file:dir { getattr open read }; allow traced_probes update_engine_log_data_file:dir { getattr open read search };
allow traced_probes user_profile_data_file:dir { getattr open read }; allow traced_probes user_profile_data_file:dir { getattr open read search };
# Allow traced_probes to run atrace. atrace pokes at system services to enable # Allow traced_probes to run atrace. atrace pokes at system services to enable
# their userspace TRACE macros. # their userspace TRACE macros.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment