1# ============================================== 2# MTK Policy Rule 3# ============================================== 4 5# Date: 2020/06/08 6# Purpose: Allow untrusted app to access mtk jpeg 7typeattribute proc_mtk_jpeg mlstrustedobject; 8allow untrusted_app_all proc_mtk_jpeg:file rw_file_perms; 9allowxperm untrusted_app_all proc_mtk_jpeg:file ioctl { 10 JPG_BRIDGE_DEC_IO_LOCK 11 JPG_BRIDGE_DEC_IO_WAIT 12 JPG_BRIDGE_DEC_IO_UNLOCK 13}; 14