device_xiaomi_sm6150-common/sepolicy/vendor/hal_camera_default.te
Arian f23eac1c98 sm6150-common: sepolicy: Add vendor prefix to camera persist file type
Change-Id: Ia42113acb0fcf5667c0b89ecdd7def13681ca0be
2022-03-27 13:38:07 +02:00

13 lines
452 B
Plaintext

type vendor_persist_camera_file, file_type, vendor_persist_type;
hal_client_domain(hal_camera_default, hal_power)
allow hal_camera_default proc_meminfo:file r_file_perms;
r_dir_file(hal_camera_default, vendor_sysfs_kgsl)
r_dir_file(hal_camera_default, vendor_persist_camera_file)
r_dir_file(hal_camera_default, mnt_vendor_file)
allow hal_camera_default remosaic_daemon_service:service_manager find;
binder_call(hal_camera_default, remosaic_daemon)