From 47c1e6591c86676aedef1a5b4e29faa488cd8201 Mon Sep 17 00:00:00 2001 From: Eve Date: Sat, 18 Jan 2020 10:11:29 +0800 Subject: [PATCH] [ALPS04421363] add untrusted app selinux policy add selinux policy for app so that the video will not be green MTK-Commit-Id: 10d2bab36c7cb7ecfda381975ff33621b7a03f5d Change-Id: I76cd1036b1819c05f78ba1177ff201bc8dfab9bd CR-Id: ALPS04421363 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK --- non_plat/untrusted_app.te | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/non_plat/untrusted_app.te b/non_plat/untrusted_app.te index 3d3c42a..5152390 100644 --- a/non_plat/untrusted_app.te +++ b/non_plat/untrusted_app.te @@ -26,3 +26,11 @@ allow untrusted_app_25 sysfs_batteryinfo:dir search; #allow untrusted_app_25 sysfs_batteryinfo:file { getattr open read }; allow untrusted_app_25 sysfs_therm:dir { open read search }; allow untrusted_app_25 sysfs_therm:file { getattr open read }; + +allowxperm untrusted_app_25 proc_ged:file ioctl { +GED_BRIDGE_IO_GE_GET +GED_BRIDGE_IO_MONITOR_3D_FENCE +GED_BRIDGE_IO_GE_SET +GED_BRIDGE_IO_QUERY_INFO +GED_BRIDGE_IO_GE_ALLOC +}; \ No newline at end of file