allow hwc to access displaycolor service
Fix the following violations: SELinux : avc: denied { add } for pid=487 uid=1000 name=displaycolor scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:vendor_displaycolor_service:s0 tclass=service_manager permissive=1 SELinux : avc: denied { find } for pid=487 uid=1000 name=displaycolor scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:vendor_displaycolor_service:s0 tclass=service_manager permissive=1 Bug: 199467938 Test: check avc denials while hwc loads calibration file Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: I43865b0a0fc406dc1955b58a80295c556d650797
This commit is contained in:
parent
1aaa9d5be9
commit
cc27fae6e5
1 changed files with 3 additions and 0 deletions
3
whitechapel_pro/hal_graphics_composer_default.te
Normal file
3
whitechapel_pro/hal_graphics_composer_default.te
Normal file
|
@ -0,0 +1,3 @@
|
|||
# allow HWC to access vendor_displaycolor_service
|
||||
add_service(hal_graphics_composer_default, vendor_displaycolor_service)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue