# ============================================== | |
# Common SEPolicy Rule | |
# ============================================== | |
type fm_hidl_service, domain; | |
type fm_hidl_service_exec, exec_type, vendor_file_type, file_type; | |
init_daemon_domain(fm_hidl_service) | |
hal_server_domain(fm_hidl_service, hal_mtk_fm) | |
vndbinder_use(fm_hidl_service) | |
allow fm_hidl_service fm_device:chr_file rw_file_perms; | |
binder_call(fm_hidl_service, system_server) |