29 lines
828 B
Plaintext
Executable File
29 lines
828 B
Plaintext
Executable File
# ==============================================
|
|
# 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 platformblk_device:blk_file { read write };
|