[ALPS03883958] wlan: phaseout wifi2agps
Remove .te and file permission used by wifi2agps MTK-Commit-Id: 461c08d098a31cfb6dc6b5c8655ede3cc47e8292 Change-Id: Ib737729c94dc0e6427ac9f510c79923aff58d7ce CR-Id: ALPS03883958 Feature: [Module]wpa_supplicant
This commit is contained in:
parent
bea2ef85fd
commit
428f9561fd
@ -530,7 +530,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
|
||||
|
@ -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 };
|
Loading…
x
Reference in New Issue
Block a user