diff --git a/non_plat/file_contexts b/non_plat/file_contexts index c900e4a..22da12a 100644 --- a/non_plat/file_contexts +++ b/non_plat/file_contexts @@ -533,7 +533,6 @@ /(system\/vendor|vendor)/bin/thermalloadalgod u:object_r:thermalloadalgod_exec:s0 /(system\/vendor|vendor)/bin/lbs_hidl_service u:object_r:lbs_hidl_service_exec:s0 -/(system\/vendor|vendor)/bin/wifi2agps u:object_r:wifi2agps_exec:s0 /(system\/vendor|vendor)/bin/wmt_loader u:object_r:wmt_loader_exec:s0 /(system\/vendor|vendor)/bin/md_ctrl u:object_r:md_ctrl_exec:s0 /(system\/vendor|vendor)/bin/spm_loader u:object_r:spm_loader_exec:s0 diff --git a/non_plat/wifi2agps.te b/non_plat/wifi2agps.te deleted file mode 100644 index cb3b68a..0000000 --- a/non_plat/wifi2agps.te +++ /dev/null @@ -1,27 +0,0 @@ -# ============================================== -# Policy File of /vendor/bin/wifi2agps Executable File - -# ============================================== -# Type Declaration -# ============================================== -type wifi2agps_exec , exec_type, file_type, vendor_file_type; -type wifi2agps ,domain; - -# ============================================== -# MTK Policy Rule -# ============================================== -init_daemon_domain(wifi2agps) - -# Date : WK14.34 -# Operation : Migration -# Purpose : for mtk debug mechanism. agpsd_data_file, mtk_agpsd are used -# to share wifi scan results with AGPS module. netlink_socket is used to -# listen events of wlan driver. udp_socket is used to do ioctl with wlan driver -# kernel-3.18 uses netlink_socket, but kernel-4.4 uses generic netlink_socket -allow wifi2agps agpsd_data_file:sock_file write; -allow wifi2agps mtk_agpsd:unix_dgram_socket sendto; -allow wifi2agps agpsd_data_file:dir search; -### TBD, neverallowxperm on line 177 of system/sepolicy/public/domain.te -#allow wifi2agps self:netlink_socket create_socket_perms; -allow wifi2agps self:netlink_generic_socket create_socket_perms_no_ioctl; -allow wifi2agps self:udp_socket { create ioctl };