blob: 4dc27ae46b75319b1e019ba019af3aaeaa38c45f (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# ==============================================
# Policy File of /system/bindhcp6c Executable File
# ==============================================
# Type Declaration
# ==============================================
type dhcp6c_exec , exec_type, file_type;
type dhcp6c ,domain;
# ==============================================
# Android Policy Rule
# ==============================================
# ==============================================
# NSA Policy Rule
# ==============================================
# ==============================================
# MTK Policy Rule
# ==============================================
init_daemon_domain(dhcp6c)
# Date : WK14.34
# Operation : Migration
# Purpose : wifi
allow dhcp6c self:udp_socket { create setopt write bind ioctl read };
# Date : WK14.41
# Operation : SQC
# Purpose : ALPS01763317
# After connected to DHCPv6 enabled 6to4 IPv6 AP,
#the ipv6 related values of getprop command are wrong
#============= dhcp6c ==============
allow dhcp6c node:udp_socket node_bind;
allow dhcp6c port:udp_socket name_bind;
allow dhcp6c system_file:file execute_no_trans;
allow dhcp6c dhcp_prop:property_service set;
# Date : WK14.42
# Operation : SQC
# Purpose : L 2nd Migration
#============= dhcp6c ==============
allow dhcp6c system_file:file execute_no_trans;
# Date : WK14.43
# Operation : SQC
# Purpose : dhcp6c get ip address and ps
#============= dhcp6c ==============
allow dhcp6c dhcp_data_file:dir { write add_name search};
allow dhcp6c dhcp_data_file:file { read write create open getattr };
allow dhcp6c init:unix_stream_socket connectto;
allow dhcp6c property_socket:sock_file write;
allow dhcp6c self:capability { setuid net_admin net_bind_service setgid };
allow dhcp6c self:netlink_route_socket { write getattr read bind create nlmsg_read };
allow dhcp6c shell_exec:file { read execute open };
allow dhcp6c wide_dhcpv6_data_file:dir { write search add_name };
allow dhcp6c wide_dhcpv6_data_file:file { read write create open getattr };
|