vendor: sepolicy and rootdir
-added sysinit and installd sepolicy - from CM
-start sysinit as early as possible
Change-Id: I0948f4b18e8d4ad11426e9d126130ff6acfa6587
diff --git a/sepolicy/sysinit.te b/sepolicy/sysinit.te
new file mode 100644
index 0000000..e28daa1
--- /dev/null
+++ b/sepolicy/sysinit.te
@@ -0,0 +1,12 @@
+type sysinit, domain;
+type sysinit_exec, exec_type, file_type;
+
+init_daemon_domain(sysinit)
+
+#============= sysinit ==============
+allow sysinit devpts:chr_file { rw_file_perms };
+allow sysinit shell_exec:file { rx_file_perms };
+allow sysinit system_file:file { rx_file_perms };
+allow sysinit self:process setcurrent;
+
+