Skip to content
Snippets Groups Projects
Commit bd81409f authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Selinux: Fix perfprofd policy

am: c8fe29ff

Change-Id: I70261798153c0151aa04f64064e58edb81e87805
parents ee92ff78 c8fe29ff
No related branches found
No related tags found
No related merge requests found
......@@ -82,10 +82,12 @@ userdebug_or_eng(`
# simpleperf examines debugfs on startup to collect tracepoint event types
r_dir_file(perfprofd, debugfs_tracing)
allow perfprofd debugfs_tracing_debug:file r_file_perms;
r_dir_file(perfprofd, debugfs_tracing_debug)
# simpleperf is going to execute "sleep"
allow perfprofd toolbox_exec:file rx_file_perms;
# simpleperf is going to execute "mv" on a temp file
allow perfprofd shell_exec:file rx_file_perms;
# needed for simpleperf on some kernels
allow perfprofd self:global_capability_class_set ipc_lock;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment