Skip to content
Snippets Groups Projects
Commit 18d7f8c1 authored by Steven Moreland's avatar Steven Moreland
Browse files

haldomain: search for passthrough hals

Bug: 34366227
Test: passthrough services successfully found
Change-Id: If2cad09edc42f01cc5a444229758ecdfe2017cf2
parent 21cb045b
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,6 @@
###
hwbinder_use(haldomain)
# find passthrough hals
allow haldomain system_file:dir r_dir_perms;
hwbinder_use(hal_camera)
binder_call(hal_camera, cameraserver)
allow hal_camera system_file:dir { open read };
# access /data/misc/camera
allow hal_camera camera_data_file:dir create_dir_perms;
allow hal_camera camera_data_file:file create_file_perms;
......
# Scan through /system/lib64/hw looking for installed HALs
allow hal_fingerprint system_file:dir r_dir_perms;
# allow HAL module to read dir contents
allow hal_fingerprint fingerprintd_data_file:file create_file_perms;
......
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