Skip to content

sepolicy: fix health service security label

Vitor Sato Eschholz requested to merge vsatoes/health_sepolicy into mtk-android-14

init was not being able to start health hal service: E init : cannot execv('/vendor/bin/hw/android.hardware.health-service.batteryless'). See the 'Debugging init' section of init's README.md for tips: Permission denied

This happened because, by default, a file in vendor partition has vendor_file as a security label, while the hal service should have label hal_health_default_exec.

Fix it by adding the appropriate sepolicy.

RITA-1256

Signed-off-by: Vitor Sato Eschholz vsatoes@baylibre.com

Merge request reports

Loading