summaryrefslogtreecommitdiff
path: root/sepolicy/muxreport.te
blob: 159ff717df394e8ed839d6a6b7bcea8294e28c55 (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
# ==============================================
# Policy File of /system/binmuxreport Executable File


# ==============================================
# Type Declaration
# ==============================================

type muxreport_exec , exec_type, file_type;
type muxreport ,domain;

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

#permissive muxreport;
init_daemon_domain(muxreport)
allow muxreport ccci_device:chr_file { read write ioctl open };
allow muxreport ril_mux_report_case_prop:property_service set;
allow muxreport init:unix_stream_socket connectto;
allow muxreport property_socket:sock_file write;
allow muxreport devpts:chr_file { read write getattr ioctl };
allow muxreport self:capability dac_override;
allow muxreport eemcs_device:chr_file { read write ioctl open };
allow muxreport emd_device:chr_file { read write open };