Skip to content
Snippets Groups Projects
Commit 1aedf4b5 authored by Andrew Scull's avatar Andrew Scull
Browse files

authsecret HAL policies.

Bug: 71527305
Test: compile and boot
Change-Id: I91097bd62d99b8dd9eb6f53060badbaf0f4b8b4a
parent 214f4796
No related branches found
No related tags found
No related merge requests found
...@@ -179,6 +179,7 @@ neverallow all_untrusted_apps { ...@@ -179,6 +179,7 @@ neverallow all_untrusted_apps {
neverallow all_untrusted_apps { neverallow all_untrusted_apps {
default_android_hwservice default_android_hwservice
hal_audio_hwservice hal_audio_hwservice
hal_authsecret_hwservice
hal_bluetooth_hwservice hal_bluetooth_hwservice
hal_bootctl_hwservice hal_bootctl_hwservice
hal_camera_hwservice hal_camera_hwservice
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
e2fs e2fs
e2fs_exec e2fs_exec
fs_bpf fs_bpf
hal_authsecret_hwservice
hal_broadcastradio_hwservice hal_broadcastradio_hwservice
hal_cas_hwservice hal_cas_hwservice
hal_lowpan_hwservice hal_lowpan_hwservice
......
...@@ -3,6 +3,7 @@ android.frameworks.schedulerservice::ISchedulingPolicyService u:object_r:fwk_s ...@@ -3,6 +3,7 @@ android.frameworks.schedulerservice::ISchedulingPolicyService u:object_r:fwk_s
android.frameworks.sensorservice::ISensorManager u:object_r:fwk_sensor_hwservice:s0 android.frameworks.sensorservice::ISensorManager u:object_r:fwk_sensor_hwservice:s0
android.hardware.audio.effect::IEffectsFactory u:object_r:hal_audio_hwservice:s0 android.hardware.audio.effect::IEffectsFactory u:object_r:hal_audio_hwservice:s0
android.hardware.audio::IDevicesFactory u:object_r:hal_audio_hwservice:s0 android.hardware.audio::IDevicesFactory u:object_r:hal_audio_hwservice:s0
android.hardware.authsecret::IAuthSecret u:object_r:hal_authsecret_hwservice:s0
android.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservice:s0 android.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservice:s0
android.hardware.bluetooth::IBluetoothHci u:object_r:hal_bluetooth_hwservice:s0 android.hardware.bluetooth::IBluetoothHci u:object_r:hal_bluetooth_hwservice:s0
android.hardware.boot::IBootControl u:object_r:hal_bootctl_hwservice:s0 android.hardware.boot::IBootControl u:object_r:hal_bootctl_hwservice:s0
......
...@@ -177,6 +177,7 @@ binder_service(system_server) ...@@ -177,6 +177,7 @@ binder_service(system_server)
# Use HALs # Use HALs
hal_client_domain(system_server, hal_allocator) hal_client_domain(system_server, hal_allocator)
hal_client_domain(system_server, hal_authsecret)
hal_client_domain(system_server, hal_broadcastradio) hal_client_domain(system_server, hal_broadcastradio)
hal_client_domain(system_server, hal_configstore) hal_client_domain(system_server, hal_configstore)
hal_client_domain(system_server, hal_contexthub) hal_client_domain(system_server, hal_contexthub)
......
...@@ -198,6 +198,7 @@ expandattribute halclientdomain true; ...@@ -198,6 +198,7 @@ expandattribute halclientdomain true;
# HALs # HALs
hal_attribute(allocator); hal_attribute(allocator);
hal_attribute(audio); hal_attribute(audio);
hal_attribute(authsecret);
hal_attribute(bluetooth); hal_attribute(bluetooth);
hal_attribute(bootctl); hal_attribute(bootctl);
hal_attribute(broadcastradio); hal_attribute(broadcastradio);
......
# HwBinder IPC from client to server
binder_call(hal_authsecret_client, hal_authsecret_server)
add_hwservice(hal_authsecret_server, hal_authsecret_hwservice)
allow hal_authsecret_client hal_authsecret_hwservice:hwservice_manager find;
...@@ -3,6 +3,7 @@ type fwk_display_hwservice, hwservice_manager_type, coredomain_hwservice; ...@@ -3,6 +3,7 @@ type fwk_display_hwservice, hwservice_manager_type, coredomain_hwservice;
type fwk_scheduler_hwservice, hwservice_manager_type, coredomain_hwservice; type fwk_scheduler_hwservice, hwservice_manager_type, coredomain_hwservice;
type fwk_sensor_hwservice, hwservice_manager_type, coredomain_hwservice; type fwk_sensor_hwservice, hwservice_manager_type, coredomain_hwservice;
type hal_audio_hwservice, hwservice_manager_type; type hal_audio_hwservice, hwservice_manager_type;
type hal_authsecret_hwservice, hwservice_manager_type;
type hal_bluetooth_hwservice, hwservice_manager_type; type hal_bluetooth_hwservice, hwservice_manager_type;
type hal_bootctl_hwservice, hwservice_manager_type; type hal_bootctl_hwservice, hwservice_manager_type;
type hal_broadcastradio_hwservice, hwservice_manager_type; type hal_broadcastradio_hwservice, hwservice_manager_type;
......
...@@ -58,6 +58,7 @@ userdebug_or_eng(` ...@@ -58,6 +58,7 @@ userdebug_or_eng(`
typeattribute su halclientdomain; typeattribute su halclientdomain;
typeattribute su hal_allocator_client; typeattribute su hal_allocator_client;
typeattribute su hal_audio_client; typeattribute su hal_audio_client;
typeattribute su hal_authsecret_client;
typeattribute su hal_bluetooth_client; typeattribute su hal_bluetooth_client;
typeattribute su hal_bootctl_client; typeattribute su hal_bootctl_client;
typeattribute su hal_camera_client; typeattribute su hal_camera_client;
......
type hal_authsecret_default, domain;
hal_server_domain(hal_authsecret_default, hal_authsecret)
type hal_authsecret_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_authsecret_default)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment