# ============================================== | |
# Common SEPolicy Rule | |
# ============================================== | |
type remosaic_daemon_exec, exec_type, vendor_file_type, file_type; | |
init_daemon_domain(remosaic_daemon) | |
vndbinder_use(remosaic_daemon) | |
allow remosaic_daemon remosaic_daemon_service:service_manager add; | |
allow remosaic_daemon mtk_hal_camera:fd use; | |
allow remosaic_daemon ion_device:chr_file { read ioctl open }; |