sepolicy: update some selinux related rules
am: 9cde58975b
Change-Id: Id17e0f64efeed067a2a998676f3814eefe0282b9
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index e97b068..dc808fa 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,6 +1,8 @@
/dev/ttyAMA0 u:object_r:console_device:s0
/dev/ttyAMA3 u:object_r:console_device:s0
+/dev/ttyFIQ0 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
+/dev/ttyAMA1 u:object_r:hci_attach_dev:s0
/system/bin/uim u:object_r:hci_attach_exec:s0
diff --git a/sepolicy/init.te b/sepolicy/init.te
index cd0bcac..f14792a 100644
--- a/sepolicy/init.te
+++ b/sepolicy/init.te
@@ -1,4 +1,4 @@
# init.hikey.usb.rc writes to /config/* to set up USB
-allow init configfs:dir create_file_perms;
+allow init configfs:dir create_dir_perms;
allow init configfs:file write;
-allow init configfs:lnk_file create;
+allow init configfs:lnk_file { create unlink };