Merge "[ALPS04421363] add untrusted app selinux policy" into alps-trunk-q0.basic

Change-Id: Ic22f02f1ca17eb62435109d5fa0a1189de4a387f
MTK-Commit-Id: 6593cb2c3566aa654ebf9841b015e9a65aba9280
This commit is contained in:
Shanshan Guo 2020-01-18 10:11:30 +08:00 committed by Gerrit Code Review
commit 2f13573484

View File

@ -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
};