universal7904: sepolicy: Allow sensor HAL to write efs_file
`avc: denied { open } for comm="HwBinder:3683_1" path="/mnt/vendor/efs/FactoryApp/gyro_cal_data" dev="mmcblk0p3" ino=72 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:efs_file:s0 tclass=file`
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Change-Id: I52014919ea714d5bde4da2e2b515371b51ba560f
diff --git a/sepolicy/vendor/hal_sensors_default.te b/sepolicy/vendor/hal_sensors_default.te
index 8442700..64b1175 100644
--- a/sepolicy/vendor/hal_sensors_default.te
+++ b/sepolicy/vendor/hal_sensors_default.te
@@ -12,3 +12,6 @@
# yas_lib
allow hal_sensors_default vendor_data_file:file create_file_perms;
allow hal_sensors_default vendor_data_file:dir create_dir_perms;
+
+allow hal_sensors_default mnt_vendor_file:dir search;
+allow hal_sensors_default efs_file:file rw_file_perms;