aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/md_ctrl.te
blob: b28649348d27cdea2c351edadc277d4e86ed69f3 (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
# ==============================================
# Policy File of /system/bin/md_ctrl Executable File 

# ==============================================
# Type Declaration
# ==============================================
type md_ctrl, domain;
type md_ctrl_exec, exec_type, file_type;

# ==============================================
# MTK Policy Rule
# ==============================================
# Date : WK14.46
# Operation : Migration 
# Purpose : Start md_ctrl

init_daemon_domain(md_ctrl)
allow md_ctrl ccci_device:chr_file { read write ioctl open };
allow md_ctrl devpts:chr_file { read write getattr open ioctl };
allow md_ctrl muxreport_exec:file { read execute open execute_no_trans };
allow md_ctrl self:capability dac_override;
allow md_ctrl emd_device:chr_file { read write open };