aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/wifi2agps.te
blob: 8a90cecdb90e0d31bcf975ee318d3b1579982a75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# ==============================================
# Policy File of /system/bin/wifi2agps Executable File 


# ==============================================
# Type Declaration
# ==============================================
type wifi2agps_exec , exec_type, file_type;
type wifi2agps ,domain;


# ==============================================
# MTK Policy Rule
# ==============================================

#permissive wifi2agps;
init_daemon_domain(wifi2agps)

# Date : WK14.34
# Operation : Migration 
# Purpose : for mtk debug mechanism
allow wifi2agps agpsd_data_file:sock_file write;
allow wifi2agps mtk_agpsd:unix_dgram_socket sendto;
allow wifi2agps self:netlink_socket {write getattr setopt read bind create};
allow wifi2agps self:udp_socket { create ioctl };
allow wifi2agps agpsd_data_file:dir search;