Skip to content
Snippets Groups Projects
Commit b55f10e9 authored by Than McIntosh's avatar Than McIntosh
Browse files

Fix perfprofd denial (simpleperf debugfs read).

Bug: http://b/23814810
Change-Id: I731bd70ec982e47b86befb32a9edcb71570e9d64
parent 59c4aa75
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,9 @@ userdebug_or_eng(` ...@@ -47,6 +47,9 @@ userdebug_or_eng(`
# to see whether it has a build ID # to see whether it has a build ID
allow perfprofd exec_type:file r_file_perms; allow perfprofd exec_type:file r_file_perms;
# simpleperf examines debugfs on startup to collect tracepoint event types
allow perfprofd debugfs:file r_file_perms;
# simpleperf is going to execute "sleep" # simpleperf is going to execute "sleep"
allow perfprofd toolbox_exec:file rx_file_perms; allow perfprofd toolbox_exec:file rx_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment