Tweak perfprofd sepolicy to include ipc_lock self capability.
Bug: http://b/19483574 Change-Id: Id39a5aaf531d2a75a22647bdafb34a6ef18201c8
This commit is contained in:
parent
529a8634e1
commit
728fe3d491
1 changed files with 3 additions and 0 deletions
|
@ -47,4 +47,7 @@ userdebug_or_eng(`
|
||||||
# simpleperf is going to execute "sleep"
|
# simpleperf is going to execute "sleep"
|
||||||
allow perfprofd toolbox_exec:file x_file_perms;
|
allow perfprofd toolbox_exec:file x_file_perms;
|
||||||
|
|
||||||
|
# needed for simpleperf on some kernels
|
||||||
|
allow perfprofd self:capability ipc_lock;
|
||||||
|
|
||||||
')
|
')
|
||||||
|
|
Loading…
Reference in a new issue