36 lines
975 B
Plaintext
Executable File
36 lines
975 B
Plaintext
Executable File
# ==============================================
|
|
# 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; |