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
3 lines
123 B
Text
3 lines
123 B
Text
# allow HWC to access vendor_displaycolor_service
|
|
add_service(hal_graphics_composer_default, vendor_displaycolor_service)
|
|
|