vendor: omni: sepolicy update
thanks to CM
Change-Id: I033a7af3aaf6ba5fa3b6d78bd4ddd674e152e40c
diff --git a/sepolicy/sysinit.te b/sepolicy/sysinit.te
index e28daa1..11087e5 100644
--- a/sepolicy/sysinit.te
+++ b/sepolicy/sysinit.te
@@ -1,12 +1,17 @@
+###########################
+# OmniROM common sepolicy
+#
+
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;
+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 setsched };
+allow sysinit userinit_exec:file { rx_file_perms };
+