From 0e579f4a708401a32087e1c4837e97e08e547282 Mon Sep 17 00:00:00 2001 From: basamaryan Date: Sat, 27 Apr 2024 21:24:42 +0200 Subject: [PATCH] miuicamera: Label same-process HAL files Change-Id: I9349cc47eec448dce797ed4e07a6fa24d56ebbaf --- sepolicy/vendor/file_contexts | 61 +++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 sepolicy/vendor/file_contexts diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts new file mode 100644 index 0000000..ae4548b --- /dev/null +++ b/sepolicy/vendor/file_contexts @@ -0,0 +1,61 @@ +/vendor/lib(64)?/libalAILDC\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libalCFR\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libalhLDC\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libanc_dc_base\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_beautyshot\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_bodyslim\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_distortion_correction\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_dualcam_refocus_front\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_dualcam_refocus_rear_t\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_dualcam_refocus_rear_w\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_dualcam_refocus\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_high_dynamic_range\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_low_light_hdr\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_portrait_lighting_c\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_portrait_lighting\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libarcsoft_superportrait\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libbeauty_face_interface\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libc\+\+_shared\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libcvp_common\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libcvp\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libcvp_stub\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/lib_denoiser3\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libflaw\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libHalSuperSensorServerCWrapper\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libHalSuperSensorServer\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libhvx_interface\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libMIAIHDRhvx_interface\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libmiai_portraitsupernight\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libmialgo_basic\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libmialgoengine\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libmialgo_ie_capture\.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)?/libmibokeh_712\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libmiStereoFactoryRemapLib\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libmpbase\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/librelight_only\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libsdk_sr\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libsnpe_dsp_domains_skel\.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_skel\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libsnpe_dsp_v65_domains_v2_skel\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libsnpe_dsp_v66_domains_v2_skel\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libSNPE\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/lib_sr_models\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libst_sr_models\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libSuperSensorCPU\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libSuperSensor_skel\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libSuperSensor\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libsymphony-cpu\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libVDClearShot\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libVDDualCameraClearShot\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libVDSuperPhotoAPI\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libwa_dof\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libwa_refocus\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libxmi_hdr_checker\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libxmi_high_dynamic_range\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libxml2_vendor\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/rfsa/adsp/libapps_mem_heap\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/rfsa/adsp/libdspCV_skel\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/rfsa/adsp/libMIAIHDR_skel\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/st_sr_models\.bin u:object_r:same_process_hal_file:s0