summaryrefslogtreecommitdiffstats
path: root/prebuilt/permissive.sh
diff options
context:
space:
mode:
Diffstat (limited to 'prebuilt/permissive.sh')
-rwxr-xr-xprebuilt/permissive.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/prebuilt/permissive.sh b/prebuilt/permissive.sh
new file mode 100755
index 000000000..f1046f94e
--- /dev/null
+++ b/prebuilt/permissive.sh
@@ -0,0 +1,8 @@
+#!/sbin/sh
+
+# We use this shell script because the script will follow symlinks and
+# different trees will use different binaries to supply the setenforce
+# tool. Before M we use toolbox, M and beyond will use toybox. The init
+# binary and init.rc will not follow symlinks.
+
+setenforce 0