summaryrefslogtreecommitdiff
path: root/non_plat/slpd.te
blob: fa3efeb89dcf5673c3422fea41308e846f9f106e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# ==============================================
# Policy File of /vendor/bin/slpd Executable File

# ==============================================
# Type Declaration
# ==============================================
type slpd_exec, exec_type, file_type, vendor_file_type;
type slpd, domain;

# ==============================================
# MTK Policy Rule
# ==============================================
init_daemon_domain(slpd)

net_domain(slpd)

# mtk_agpsd will send the current SUPL profile to SLPD
allow slpd mtk_agpsd:unix_dgram_socket sendto;

allow slpd self:netlink_route_socket { bind nlmsg_readpriv nlmsg_getneigh };