From 728fe3d4918aa0308d6c7167c3d72ef299250d17 Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Thu, 14 May 2015 15:47:36 -0400 Subject: [PATCH] Tweak perfprofd sepolicy to include ipc_lock self capability. Bug: http://b/19483574 Change-Id: Id39a5aaf531d2a75a22647bdafb34a6ef18201c8 --- perfprofd.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perfprofd.te b/perfprofd.te index c9f7f35ed..03e55f5d5 100644 --- a/perfprofd.te +++ b/perfprofd.te @@ -47,4 +47,7 @@ userdebug_or_eng(` # simpleperf is going to execute "sleep" allow perfprofd toolbox_exec:file x_file_perms; + # needed for simpleperf on some kernels + allow perfprofd self:capability ipc_lock; + ')