summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/init_shell.te
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/qcom/common/init_shell.te')
-rw-r--r--vendor/qcom/common/init_shell.te9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/qcom/common/init_shell.te b/vendor/qcom/common/init_shell.te
new file mode 100644
index 0000000..661c297
--- /dev/null
+++ b/vendor/qcom/common/init_shell.te
@@ -0,0 +1,9 @@
+# Restricted domain for shell processes spawned by init.
+# Normally these are shell commands or scripts invoked via sh
+# from an init*.rc file. No service should ever run in this domain.
+type qti_init_shell, domain;
+type qti_init_shell_exec, exec_type, vendor_file_type,file_type;
+
+init_daemon_domain(qti_init_shell)
+
+