Clean up hikey selinux policy
Remove lots of: allow xyz kernel:system module_request; as these
are almost always spurious.
Remove any labeling of directories as shell_data_file.
Remove access to default labels and properties.
Remove empty gatord domain.
Remove rules already granted in core policy.
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index ca1bf57..e97b068 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,9 +1,6 @@
-/data/linaro-android-kernel-test(/.*)? u:object_r:shell_data_file:s0
-/data/linaro-android-userspace-test(/.*)? u:object_r:shell_data_file:s0
-/data/nativebenchmark(/.*)? u:object_r:shell_data_file:s0
-/dev/ttyAMA0 u:object_r:console_device:s0
-/dev/ttyAMA3 u:object_r:console_device:s0
+/dev/ttyAMA0 u:object_r:console_device:s0
+/dev/ttyAMA3 u:object_r:console_device:s0
/dev/mali 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
-/system/bin/uim u:object_r:hci_attach_exec:s0
+/system/bin/uim u:object_r:hci_attach_exec:s0