summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2019-10-09 15:31:17 +0200
committerMichael Bestas <mkbestas@lineageos.org>2019-10-23 01:30:25 +0200
commitb4506f939970a3da36c9f3b43bdd6af7bad45170 (patch)
tree44b66f5214817644690d23cd58537960a7bd7cce /common
parent6357883c6471cf4f54e57b2ad36ae8f769195140 (diff)
downloadandroid_device_lineage_sepolicy-b4506f939970a3da36c9f3b43bdd6af7bad45170.tar.gz
android_device_lineage_sepolicy-b4506f939970a3da36c9f3b43bdd6af7bad45170.tar.bz2
android_device_lineage_sepolicy-b4506f939970a3da36c9f3b43bdd6af7bad45170.zip
Kill sysinit
Change-Id: I9af50a8d2b6a07e44edde4836a294cedcaa61119
Diffstat (limited to 'common')
-rw-r--r--common/private/file_contexts3
-rw-r--r--common/private/property.te1
-rw-r--r--common/private/property_contexts1
-rw-r--r--common/private/sysinit.te15
4 files changed, 0 insertions, 20 deletions
diff --git a/common/private/file_contexts b/common/private/file_contexts
index b654885..6fd8f38 100644
--- a/common/private/file_contexts
+++ b/common/private/file_contexts
@@ -20,6 +20,3 @@
# Superuser's control sockets
/dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0
-
-# Sysinit
-/system/bin/sysinit u:object_r:sysinit_exec:s0
diff --git a/common/private/property.te b/common/private/property.te
deleted file mode 100644
index 3dfaa75..0000000
--- a/common/private/property.te
+++ /dev/null
@@ -1 +0,0 @@
-type userinit_prop, property_type;
diff --git a/common/private/property_contexts b/common/private/property_contexts
index 5b61c58..f0f8e52 100644
--- a/common/private/property_contexts
+++ b/common/private/property_contexts
@@ -1,3 +1,2 @@
adb.network.port u:object_r:system_prop:s0
lineage.service.adb.root u:object_r:system_prop:s0
-lineage.userinit.active u:object_r:userinit_prop:s0
diff --git a/common/private/sysinit.te b/common/private/sysinit.te
deleted file mode 100644
index 39fe63c..0000000
--- a/common/private/sysinit.te
+++ /dev/null
@@ -1,15 +0,0 @@
-type sysinit, coredomain, domain;
-type sysinit_exec, system_file_type, exec_type, file_type;
-
-# Allow for transition from init domain to sysinit
-init_daemon_domain(sysinit)
-neverallow { domain -init } sysinit:process transition;
-
-userdebug_or_eng(`
- permissive sysinit;
-')
-
-dontaudit sysinit shell_exec:file rx_file_perms;
-dontaudit sysinit toolbox_exec:file rx_file_perms;
-dontaudit sysinit system_file:file rx_file_perms;
-dontaudit sysinit system_file:dir r_dir_perms;