sm6150-common: sepolicy: Add vendor prefix to camera persist file type

Change-Id: Ia42113acb0fcf5667c0b89ecdd7def13681ca0be
This commit is contained in:
Arian 2022-03-27 13:22:44 +02:00
parent fd47aee8f1
commit f23eac1c98
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
/dev/socket/audio_hw_socket u:object_r:audio_socket:s0
# Camera
/mnt/vendor/persist/camera(/.*)? u:object_r:camera_persist_file:s0
/mnt/vendor/persist/camera(/.*)? u:object_r:vendor_persist_camera_file:s0
# Data files
/data/per_boot(/.*)? u:object_r:per_boot_file:s0

View File

@ -1,11 +1,11 @@
type camera_persist_file, file_type, vendor_persist_type;
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, camera_persist_file)
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;