blob: 9351ec2d12ca4f40c8c819380f1949bf48002c16 (
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
|
# ==============================================
# Policy File of /system/binpppd_dt Executable File
# ==============================================
# Type Declaration
# ==============================================
type pppd_dt_exec , exec_type, file_type;
type pppd_dt ,domain;
# ==============================================
# Android Policy Rule
# ==============================================
# ==============================================
# NSA Policy Rule
# ==============================================
# ==============================================
# MTK Policy Rule
# ==============================================
init_daemon_domain(pppd_dt)
allow pppd_dt self:capability { setgid setuid net_admin };
allow pppd_dt property_socket:sock_file write;
allow pppd_dt dnsproxyd_socket:sock_file write;
allow pppd_dt init:unix_stream_socket connectto;
allow pppd_dt self:udp_socket { ioctl create };
allow pppd_dt netd:unix_stream_socket connectto;
allow pppd_dt ttyACM_device:chr_file { read write ioctl open getattr };
allow pppd_dt ppp_device:chr_file { read write ioctl open };
allow pppd_dt system_file:file execute_no_trans;
allow pppd_dt shell_exec:file { read open execute };
allow pppd_dt net_radio_prop:property_service set;
allow pppd_dt pppoe_ppp0_prop:property_service set;
allow pppd_dt system_prop:property_service set;
|