Merge "Add missing sepolicies for OemLock HAL." into oc-dev

This commit is contained in:
TreeHugger Robot 2017-06-01 22:05:18 +00:00 committed by Android (Google) Code Review
commit 60e4fd9dfa
3 changed files with 6 additions and 1 deletions

View file

@ -26,6 +26,7 @@ android.hardware.media.omx::IOmx u:object_r:hal_o
android.hardware.media.omx::IOmxStore u:object_r:hal_omx_hwservice:s0
android.hardware.memtrack::IMemtrack u:object_r:hal_memtrack_hwservice:s0
android.hardware.nfc::INfc u:object_r:hal_nfc_hwservice:s0
android.hardware.oemlock::IOemLock u:object_r:hal_oemlock_hwservice:s0
android.hardware.power::IPower u:object_r:hal_power_hwservice:s0
android.hardware.radio.deprecated::IOemHook u:object_r:hal_telephony_hwservice:s0
android.hardware.radio::IRadio u:object_r:hal_telephony_hwservice:s0

View file

@ -1,2 +1,5 @@
# HwBinder IPC from client to server
# binder_call(hal_oemlock_client, hal_oemlock_server)
binder_call(hal_oemlock_client, hal_oemlock_server)
add_hwservice(hal_oemlock_server, hal_oemlock_hwservice)
allow hal_oemlock_client hal_oemlock_hwservice:hwservice_manager find;

View file

@ -22,6 +22,7 @@ type hal_keymaster_hwservice, hwservice_manager_type;
type hal_light_hwservice, hwservice_manager_type;
type hal_memtrack_hwservice, hwservice_manager_type;
type hal_nfc_hwservice, hwservice_manager_type;
type hal_oemlock_hwservice, hwservice_manager_type;
type hal_omx_hwservice, hwservice_manager_type;
type hal_power_hwservice, hwservice_manager_type;
type hal_renderscript_hwservice, hwservice_manager_type, same_process_hwservice;