SELinux policies for the OEM lock HAL.

Bug: 34766843
Change-Id: I5be615d818ecf999fec6514ce9b89ff6a7f13cd6
Fix: 38232801
Test: Build and boot
Merged-In: Ice78aedfdbe82477a84252499a76dad37887fe6b
This commit is contained in:
Andrew Scull 2017-05-12 15:37:39 +01:00
parent 7e6176400b
commit 0e9b22078b
3 changed files with 6 additions and 0 deletions

View file

@ -181,6 +181,7 @@ hal_client_domain(system_server, hal_graphics_allocator)
hal_client_domain(system_server, hal_ir)
hal_client_domain(system_server, hal_light)
hal_client_domain(system_server, hal_memtrack)
hal_client_domain(system_server, hal_oemlock)
allow system_server hal_omx_hwservice:hwservice_manager find;
allow system_server hidl_token_hwservice:hwservice_manager find;
hal_client_domain(system_server, hal_power)

View file

@ -234,6 +234,9 @@ attribute hal_memtrack_server;
attribute hal_nfc;
attribute hal_nfc_client;
attribute hal_nfc_server;
attribute hal_oemlock;
attribute hal_oemlock_client;
attribute hal_oemlock_server;
attribute hal_power;
attribute hal_power_client;
attribute hal_power_server;

2
public/hal_oemlock.te Normal file
View file

@ -0,0 +1,2 @@
# HwBinder IPC from client to server
# binder_call(hal_oemlock_client, hal_oemlock_server)