blob: 9b06e2ed194596275b01f1422e6c585eb53ee0dc [file] [log] [blame]
# ==============================================
# MTK Policy Rule
# ==============================================
# Date: 2020/06/08
# Purpose: Allow untrusted app to access mtk jpeg
typeattribute proc_mtk_jpeg mlstrustedobject;
allow untrusted_app_all proc_mtk_jpeg:file rw_file_perms;
allowxperm untrusted_app_all proc_mtk_jpeg:file ioctl {
JPG_BRIDGE_DEC_IO_LOCK
JPG_BRIDGE_DEC_IO_WAIT
JPG_BRIDGE_DEC_IO_UNLOCK
};