Merge "[ALPS04669482] Added SELinux policy for mediaswcodec" into alps-trunk-q0.basic

Change-Id: I2bc864b4cd21989e9113b9b8e61ba9f04bf9f8e4
MTK-Commit-Id: 276993cc3d265edbcc149e4522b4f10c0ac1378e
This commit is contained in:
Deepti Vashist 2020-01-18 10:16:03 +08:00 committed by Gerrit Code Review
commit 47867cc607

11
non_plat/mediaswcodec.te Executable file
View File

@ -0,0 +1,11 @@
# ==============================================
# 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;