sepolicy: qti: Resolve vl53l1 denials

Change-Id: If0fc75186bcce23f0b9cc82ae13c37a30f57a26e
This commit is contained in:
Michael Bestas
2023-04-09 21:22:38 +03:00
committed by Łukasz Patron
parent 594bc58b61
commit c94a7269fb
2 changed files with 3 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ genfscon sysfs /devices/platform/soc/soc:sensor_fb u:object_r:vendor_sysfs_se
# TOF
genfscon sysfs /kernel/tof_control u:object_r:vendor_sysfs_tof:s0
genfscon sysfs /module/stmvl53l1 u:object_r:vendor_sysfs_tof:s0
# Ultrasound
genfscon proc /ultrasound u:object_r:vendor_proc_ultrasound:s0

View File

@@ -11,4 +11,6 @@ allow vl53l1_daemon_main self:{
allow vl53l1_daemon_main self:netlink_iscsi_socket { read write create bind };
r_dir_file(vl53l1_daemon_main, vendor_persist_camera_file)
r_dir_file(vl53l1_daemon_main, vendor_sysfs_tof)
rw_dir_file(vl53l1_daemon_main, mnt_vendor_file)