diff options
| author | Mister Oyster <oysterized@gmail.com> | 2017-01-02 12:44:35 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-01-02 12:44:35 +0100 |
| commit | a184d985bf43d3fe6eeba971bc6b32f79ea38b37 (patch) | |
| tree | 6f6e56e090777cc149bc1ab39e5987cc2b03e867 /sepolicy/ppl_agent.te | |
initial releasecm-13.0
Diffstat (limited to 'sepolicy/ppl_agent.te')
| -rw-r--r-- | sepolicy/ppl_agent.te | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/sepolicy/ppl_agent.te b/sepolicy/ppl_agent.te new file mode 100644 index 0000000..0bf67df --- /dev/null +++ b/sepolicy/ppl_agent.te @@ -0,0 +1,58 @@ +# ============================================== +# Policy File of /system/bin/ppl_agent Executable File + + +# ============================================== +# Type Declaration +# ============================================== + +type ppl_agent_exec , exec_type, file_type; +type ppl_agent ,domain; + +# ============================================== +# MTK Policy Rule +# ============================================== + +init_daemon_domain(ppl_agent) + +# Date : 2014/09/11 +# Operation : Migration +# Purpose : [Privacy protection lock][allow com.mediatek.ppl binder IPC to ppl_agent service] +# Package name : com.mediatek.ppl +binder_use(ppl_agent) +binder_service(ppl_agent) + +# Date : 2014/10/16 +# Operation : QC +# Purpose : [Privacy protection lock][ppl_agent call FileOp_BackupToBinRegionForDM to do nvram backup] +# Package name : com.mediatek.ppl +allow ppl_agent mmcblk_device:blk_file rw_file_perms; +allow ppl_agent platformblk_device:blk_file rw_file_perms; + +# Date : 2014/10/24 +# Operation : Migration +# Purpose : [Privacy protection lock][ppl_agent call FileOp_BackupToBinRegionForDM to do nvram backup] +# Package name : com.mediatek.ppl +allow ppl_agent platformblk_device:dir search; +allow ppl_agent block_device:dir search; + +# Data : 2014/10/24 +# Operation : Migration +# Purpose : [Privacy protection lock][ppl_agent need access nvram data file for backup restore function] +# Package name : com.mediatek.ppl +allow ppl_agent nvram_data_file:dir create_dir_perms; +allow ppl_agent nvram_data_file:file create_file_perms; +allow ppl_agent nvram_data_file:lnk_file read; +allow ppl_agent nvdata_file:dir create_dir_perms; +allow ppl_agent nvdata_file:file create_file_perms; + +# Data : 2014/10/24 +# Operation : Migration +# Purpose : [Privacy protection lock][Allow ServiceManager add this service] +# Package name : ServiceManager +allow ppl_agent ppl_agent_service:service_manager add; +# Data : 2014/10/31 +# Operation : QC +# Purpose : [Privacy protection lock][ppl_agent need access nvram data file for backup restore function on MT6582] +# Package name : ServiceManager +allow ppl_agent nvram_device:chr_file { read write ioctl open };
\ No newline at end of file |
