sepolicy: qti: Add rules for stmvl53l1 TOF sensor

Change-Id: I45714c6389c8c60904e0f1094bfb79f701832676
This commit is contained in:
LuK1337
2022-12-21 20:01:01 +01:00
parent 5c2acd54d9
commit 68e353f71e
4 changed files with 26 additions and 0 deletions

View File

@@ -4,6 +4,9 @@ hal_client_domain(hal_camera_default, vendor_hal_cameraMDM)
allow hal_camera_default vendor_hal_orms_hwservice:hwservice_manager find;
allow hal_camera_default input_device:chr_file rw_file_perms;
allow hal_camera_default vendor_tof_device:chr_file rw_file_perms;
allow hal_camera_default mnt_vendor_file:dir search;
allow hal_camera_default proc_meminfo:file r_file_perms;
@@ -11,4 +14,6 @@ allow hal_camera_default proc_meminfo:file r_file_perms;
allow hal_camera_default vendor_persist_camera_file:dir w_dir_perms;
allow hal_camera_default vendor_persist_camera_file:file create_file_perms;
r_dir_file(hal_camera_default, input_device)
set_prop(hal_camera_default, vendor_camera_prop)