[ALPS04669482] Added SELinux policy for mediaswcodec

Add file & dir permission on gpu, proc_ged, and debugfs_ion

MTK-Commit-Id: b27f71d9a9c557042c7844b034d26c5a58895204

Change-Id: Ie0dce4d5fba5cfdce1b76cdd8706d81f010a3771
CR-Id: ALPS04669482
Feature: Video Player
This commit is contained in:
pankaj jangir 2020-01-18 10:16:01 +08:00 committed by Pankaj Jangir
parent 03bb250992
commit 31c487c298

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;