diff options
Diffstat (limited to 'sepolicy/dmlog.te')
| -rw-r--r-- | sepolicy/dmlog.te | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sepolicy/dmlog.te b/sepolicy/dmlog.te new file mode 100644 index 0000000..ea8f25a --- /dev/null +++ b/sepolicy/dmlog.te @@ -0,0 +1,29 @@ +# ============================================== +# Policy File of /system/bin/dmlog Executable File + + +# ============================================== +# Type Declaration +# ============================================== + +type dmlog_exec , exec_type, file_type; +type dmlog ,domain; + +# ============================================== +# MTK Policy Rule +# ============================================== + +#permissive dmlog; +init_daemon_domain(dmlog) + +# Date : 2014/09/23 +# Operation : Migration +# Purpose : for mtk debug mechanism +allow dmlog aed_device:chr_file read; +allow dmlog debuggerd:fd use; +allow dmlog debuggerd:unix_stream_socket { read write }; +allow dmlog expdb_device:chr_file { read write }; +allow dmlog fuse:file { write getattr }; +allow dmlog sysfs:file write; +allow dmlog aee_exp_data_file:file write; +allow dmlog platformblk_device:blk_file { read write }; |
