Allow twoshay to access fwk_stats_service and system_server
avc: denied { find } for pid=813 uid=0 name=android.frameworks.stats.IStats/default scontext=u:r:twoshay:s0 tcontext=u:object_r:fwk_stats_service:s0 tclass=service_manager avc: denied { call } for scontext=u:r:twoshay:s0 tcontext=u:r:system_server:s0 tclass=binder Bug: 179334953 Test: Make selinux_policy and push related files to the device. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Ib95debbc9ce10919c5f935e8f70b340bb293b54a
This commit is contained in:
parent
9ec8491533
commit
6e7338095b
1 changed files with 3 additions and 0 deletions
3
whitechapel/vendor/google/twoshay.te
vendored
3
whitechapel/vendor/google/twoshay.te
vendored
|
@ -8,3 +8,6 @@ allow twoshay twoshay:capability sys_nice;
|
||||||
|
|
||||||
binder_use(twoshay)
|
binder_use(twoshay)
|
||||||
add_service(twoshay, touch_context_service)
|
add_service(twoshay, touch_context_service)
|
||||||
|
|
||||||
|
allow twoshay fwk_stats_service:service_manager find;
|
||||||
|
binder_call(twoshay, stats_service_server)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue