summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2018-06-08 15:07:11 +0530
committerAmit Pundir <amit.pundir@linaro.org>2018-06-10 13:25:56 +0530
commite48dcd37e806e25a7bc3421443f7c3c7db9c2fd8 (patch)
tree48b56fe1b725357a16645b3afe78b77f1e12bbc7 /sepolicy/file_contexts
parent188fe971aa5998a3e0b7307d4d1944480d0ae85d (diff)
selinux: Fix selinux denials introduced with mesa3d update
Fix selinux denials introduced in external/mesa3d project, which got updated to upstream v18.0 recently. Most of these policies are pointed by audit2allow tool. Also all zygote spawned apps need access to gpu_device, /dev/dri/*, to render the standard UI. Change-Id: Ia092bba922747be8635644bb2aa1ef76d512ea69 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 584ec25..85dcd7d 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -6,5 +6,6 @@
/dev/dri/card0 u:object_r:gpu_device:s0
/dev/dri/renderD128 u:object_r:gpu_device:s0
+/sys/devices/platform/soc/900000.mdss u:object_r:sysfs_mdss:s0
/system/bin/tinymix u:object_r:tinymix_exec:s0