You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
37 lines
1.2 KiB
4 months ago
|
# ==============================================
|
||
|
# Policy File of /system/bin/muxreport Executable File
|
||
|
|
||
|
# ==============================================
|
||
|
# Type Declaration
|
||
|
# ==============================================
|
||
|
type muxreport_exec , exec_type, file_type, vendor_file_type;
|
||
|
type muxreport ,domain;
|
||
|
|
||
|
# ==============================================
|
||
|
# MTK Policy Rule
|
||
|
# ==============================================
|
||
|
init_daemon_domain(muxreport)
|
||
|
|
||
|
# Property service
|
||
|
# allow set muxreport control properties
|
||
|
set_prop(muxreport, vendor_mtk_ril_mux_report_case_prop)
|
||
|
|
||
|
# Allow read/write to devices/files
|
||
|
allow muxreport ccci_device:chr_file { rw_file_perms };
|
||
|
allow muxreport devpts:chr_file { rw_file_perms };
|
||
|
allow muxreport eemcs_device:chr_file { rw_file_perms };
|
||
|
allow muxreport emd_device:chr_file { rw_file_perms };
|
||
|
# Allow read to sys/kernel/ccci/* files
|
||
|
allow muxreport sysfs_ccci:dir search;
|
||
|
allow muxreport sysfs_ccci:file r_file_perms;
|
||
|
|
||
|
# Date : WK18.16
|
||
|
# Operation: P migration
|
||
|
# Purpose: Allow muxreport to get vendor_mtk_tel_switch_prop
|
||
|
get_prop(muxreport, vendor_mtk_tel_switch_prop)
|
||
|
|
||
|
#Date: W1824
|
||
|
#Purpose: allow muxreport access property of vendor_mtk_radio_prop
|
||
|
set_prop(muxreport, vendor_mtk_radio_prop)
|
||
|
|