Let ramdump find and use the IStats service

This change allows ramdump the ability to find and use the statsd
service in order to record metrics.

Audit logs:
denied { read } for comm="ramdump" name="u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=24443 scontext=u:r:ramdump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file
denied { read } for comm="ramdump" name="u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=24443 scontext=u:r:ramdump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file
denied { read } for comm="ramdump" name="u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=24443 scontext=u:r:ramdump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file
denied { open } for comm="ramdump" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=24443 scontext=u:r:ramdump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file
denied { getattr } for comm="ramdump" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=24443 scontext=u:r:ramdump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file
denied { call } for comm="ramdump" scontext=u:r:ramdump:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder
denied { transfer } for comm="hwservicemanage" scontext=u:r:hwservicemanager:s0 tcontext=u:r:ramdump:s0 tclass=binder
denied { call } for comm="ramdump" scontext=u:r:ramdump:s0 tcontext=u:r:statsd:s0 tclass=binder

Denied operations are introduced by: ag/9827013

Bug: 145477440
Change-Id: Ie309e76df9c3a779fbdb22c65e326df6be58fe03
1 file changed
tree: 8f7fe4f8250bcafa8f2bdac73e54251b56fe905b
  1. private/
  2. public/
  3. vendor/
  4. .clang-format
  5. .gitignore
  6. bonito-sepolicy.mk
  7. OWNERS