sepolicy: update some selinux related rules
1. set security context for /dev/ttyFIQ0 and /dev/ttyAMA1
2. allow init to have more permissions for configfs dir and lnk_file
Change-Id: I388c0447a0ca915944bffd8c70a048bc945226a9
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
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 };