summaryrefslogtreecommitdiff
path: root/sepolicy/ppp.te
blob: ab4b4ac14ad9d40a426d0de5a5601f0744dbb543 (plain)
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
# ==============================================
# MTK Policy Rule
# ==============================================



# Date : WK14.34
# Operation : Migration
# Purpose: for VPN

allow ppp init:unix_stream_socket connectto;
allow ppp property_socket:sock_file write;

# Date : WK14.37
# Operation : Migration
# Purpose: for PPPOE Test 

allow ppp devpts:chr_file { read write ioctl open setattr };
allow ppp self:capability { setuid net_raw setgid dac_override };
allow ppp self:packet_socket { write ioctl setopt read bind create };
allow ppp shell_exec:file { read execute open execute_no_trans };


# Date : WK14.37
# Operation : Migration
# Purpose: for PPPOE Test: Property permission

allow ppp pppoe_ppp0_prop:property_service set;
allow ppp net_radio_prop:property_service set;
allow ppp system_prop:property_service set; 


# Date : WK14.38
# Operation : Migration
# Purpose: for PPPOE Test 

allow ppp ppp_exec:file execute_no_trans;

# Date : WK14.53
# Operation : check in 
# Purpose: for warning kernel API 
allow ppp mtp:file read;