sm8350-common: sepolicy: Label camera libraries as same process hal files

Change-Id: If04a525677e9e137dacb4fd759eb6d1d5d2776ba
This commit is contained in:
Arian 2023-03-28 18:29:10 +02:00
parent 6766cd911e
commit 2a641ef6ff

View File

@ -10,6 +10,18 @@
# Camera
/mnt/vendor/persist/camera(/.*)? u:object_r:camera_persist_file:s0
/vendor/lib(64)?/libc\+\+_shared\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libmialgo_ai_vision\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libmialgo_utils\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libsnpe_dsp_domains_v2\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libsnpe_dsp_domains_v3\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libsnpe_htp\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/rfsa/adsp/libsnpe_dsp_v65_domains_v2_skel\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/rfsa/adsp/libsnpe_dsp_v66_domains_v2_skel\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/rfsa/adsp/libsnpe_dsp_v68_domains_v3_skel\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/rfsa/adsp/libsnpe_htp_v65_skel\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/rfsa/adsp/libsnpe_htp_v66_skel\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/rfsa/adsp/libsnpe_htp_v68_skel\.so u:object_r:same_process_hal_file:s0
# IR
/dev/ir_spi u:object_r:ir_spi_device:s0