Skip to content
Snippets Groups Projects
Commit becb0c81 authored by Andy Hung's avatar Andy Hung
Browse files

Add memory leak detection to mediaserver

Bug: 28169802
Change-Id: Ibc063470a42601ea232b1fa535663641a761eea7
parent 7da9b2af
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,11 @@ allow mediaserver proc:lnk_file getattr; ...@@ -15,6 +15,11 @@ allow mediaserver proc:lnk_file getattr;
# open /vendor/lib/mediadrm # open /vendor/lib/mediadrm
allow mediaserver system_file:dir r_dir_perms; allow mediaserver system_file:dir r_dir_perms;
userdebug_or_eng(`
# ptrace to processes in the same domain for memory leak detection
allow mediaserver self:process ptrace;
')
binder_use(mediaserver) binder_use(mediaserver)
binder_call(mediaserver, binderservicedomain) binder_call(mediaserver, binderservicedomain)
binder_call(mediaserver, { appdomain autoplay_app }) binder_call(mediaserver, { appdomain autoplay_app })
......
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