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


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

type MtkCodecService_exec , exec_type, file_type;
type MtkCodecService ,domain;


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


# Date : 2014/09/10
# Operation : Migration
# Purpose : allow Binder IPC 
binder_use(MtkCodecService)

# Date : 
# Operation : Migration
# Purpose : allow Binder IPC

# Date : W14.43
# Operation : selinux inforce
# Purpose : for L : add for ape playback

init_daemon_domain(MtkCodecService)
allow MtkCodecService mediaserver:binder call;
allow MtkCodecService mediaserver:fd use;
allow MtkCodecService mtk_codec_service_service:service_manager add;
allow MtkCodecService self:capability{setuid sys_nice};
allow MtkCodecService dumpstate:fd use;