[Detail] The mode of sepolicy files should be -rw-r--r--, and the type should be ASCII text with Unix/Linux format. [Solution] 1.Use chmod 0644 to change sepolicy files mode. 2.Use iconv -t ASCII and dos2unix to change sepolicy files type and format. MTK-Commit-Id: ee386fd7ca89105f70b96f6b58c5f0e372fe9a4b Change-Id: Iac13b1ea8a4546168f68a7918acdcdb0588f6630 CR-Id: ALPS04968083 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
15 lines
515 B
Plaintext
15 lines
515 B
Plaintext
# ==============================================
|
|
# Policy File of /system/bin/loghidlsysservice Executable File
|
|
|
|
# ==============================================
|
|
# Type Declaration
|
|
# ==============================================
|
|
type loghidlsysservice_exec, system_file_type, exec_type, file_type;
|
|
typeattribute loghidlsysservice coredomain;
|
|
|
|
|
|
init_daemon_domain(loghidlsysservice)
|
|
|
|
allow loghidlsysservice emdlogger:unix_stream_socket connectto;
|
|
allow loghidlsysservice mobile_log_d:unix_stream_socket connectto;
|