summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-06-05 15:37:33 +0100
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-06-21 03:15:51 +0100
commit4734517b5a54f154c3c8277a8352dd220e2ef850 (patch)
tree7e87c07141b450ff0564e189351728661701dd28
parente9c4e8a30ccc67cbfed17bddb1145e00a22a0372 (diff)
downloadhikey-4734517b5a54f154c3c8277a8352dd220e2ef850.tar.gz
hikey960: set selinux label for mali device node
This fixes the denial messages for surfaceflinger Change-Id: Ib177417a64a6c6cec7a6f4ed818e0260c1a92e29 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 6d91f79a..e92402b3 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -3,6 +3,7 @@
/dev/ttyAMA5 u:object_r:console_device:s0
/dev/ttyFIQ0 u:object_r:console_device:s0
/dev/mali u:object_r:gpu_device:s0
+/dev/mali0 u:object_r:gpu_device:s0
/dev/dri/card0 u:object_r:gpu_device:s0
/dev/hci_tty u:object_r:hci_attach_dev:s0
/dev/ttyAMA1 u:object_r:hci_attach_dev:s0