summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--selinux/file_contexts1
-rw-r--r--selinux/init.te1
-rw-r--r--selinux/platform_app.te2
3 files changed, 3 insertions, 1 deletions
diff --git a/selinux/file_contexts b/selinux/file_contexts
index b1e79f2..07b8514 100644
--- a/selinux/file_contexts
+++ b/selinux/file_contexts
@@ -45,7 +45,6 @@
# Firmwares
/system/vendor/firmware/mfc_fw.bin u:object_r:firmware_mfc:s0
-
# Display
/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/scenario u:object_r:sysfs_display:s0
/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/mode u:object_r:sysfs_display:s0
diff --git a/selinux/init.te b/selinux/init.te
index 6b18583..2a23be5 100644
--- a/selinux/init.te
+++ b/selinux/init.te
@@ -1,4 +1,5 @@
allow init self:capability sys_module;
allow init tmpfs:lnk_file create;
allow init rild:process noatsecure;
+allow init debugfs:dir mounton;
domain_trans(init, rootfs, cpboot-daemon)
diff --git a/selinux/platform_app.te b/selinux/platform_app.te
new file mode 100644
index 0000000..84de19f
--- /dev/null
+++ b/selinux/platform_app.te
@@ -0,0 +1,2 @@
+allow platform_app battery_service:service_manager find;
+allow platform_app healthd_service:service_manager find;