fix wlc_hwservice access
10-29 10:38:01.270 440 440 E SELinux : avc: denied { find } for pid=1594 uid=10210 name=com.google.input.ITouchContextService/default scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:touch_service:s0 tclass=service_manager permissive=1 10-29 10:38:01.277 440 440 E SELinux : avc: denied { find } for pid=1594 uid=10210 name=com.google.hardware.pixel.display.IDisplay/default scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:hal_pixel_display_service:s0 tclass=service_manager permissive=1 Bug: 202906787 Test: boot with no relevant error Change-Id: I47ea0f1dfe6f3f7b024d4512e0ccd94bc0da93a1
This commit is contained in:
parent
73845f7fcd
commit
8cc3f28ac1
4 changed files with 4 additions and 2 deletions
|
@ -1,2 +0,0 @@
|
|||
# b/202906787
|
||||
dontaudit platform_app hal_wlc_hwservice:hwservice_manager { find };
|
2
whitechapel_pro/platform_app.te
Normal file
2
whitechapel_pro/platform_app.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow platform_app hal_pixel_display_service:service_manager find;
|
||||
allow platform_app hal_wlc_hwservice:hwservice_manager find;
|
|
@ -1 +1,2 @@
|
|||
type hal_pixel_display_service, service_manager_type, vendor_service;
|
||||
type touch_service, service_manager_type, vendor_service;
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
com.google.hardware.pixel.display.IDisplay/default u:object_r:hal_pixel_display_service:s0
|
||||
com.google.input.ITouchContextService/default u:object_r:touch_service:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue