[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
12 lines
420 B
Plaintext
12 lines
420 B
Plaintext
# ==============================================
|
|
# MTK Policy Rule
|
|
# ==============================================
|
|
|
|
# Date : WK19.25
|
|
# Operation : Migration
|
|
# Purpose : [ALPS04669482] DRTS failed due to avc denied
|
|
allow mediaswcodec debugfs_ion:dir rw_dir_perms;
|
|
allow mediaswcodec gpu_device:dir rw_dir_perms;
|
|
allow mediaswcodec dri_device:chr_file rw_file_perms;
|
|
allow mediaswcodec gpu_device:chr_file rw_file_perms;
|