aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-03-23 13:45:47 -0500
committerRob Landley <rob@landley.net>2015-03-23 13:45:47 -0500
commit47dd32825ea32796f3094f45f4e4b0e7e1657520 (patch)
tree4e82d46ff6a9198a3025c53a3b91c74a0b044c26
parent9a4128f32978c71dd417d9ce5fa4677f00dd4683 (diff)
downloadtoybox-47dd32825ea32796f3094f45f4e4b0e7e1657520.tar.gz
Promote runcon to android (and add an android menu).
-rw-r--r--toys/android/README5
-rw-r--r--toys/android/runcon.c (renamed from toys/pending/runcon.c)2
2 files changed, 6 insertions, 1 deletions
diff --git a/toys/android/README b/toys/android/README
new file mode 100644
index 00000000..d471a20a
--- /dev/null
+++ b/toys/android/README
@@ -0,0 +1,5 @@
+Android
+
+Commands primarily used by Android, not vanilla Linux. (Also SELinux stuff.)
+
+Bug Elliott Hughes <enh@google.com> about this.
diff --git a/toys/pending/runcon.c b/toys/android/runcon.c
index b916b424..c2f71e2d 100644
--- a/toys/pending/runcon.c
+++ b/toys/android/runcon.c
@@ -7,7 +7,7 @@ USE_RUNCON(NEWTOY(runcon, "<2", TOYFLAG_USR|TOYFLAG_SBIN))
config RUNCON
bool "runcon"
depends on TOYBOX_SELINUX
- default n
+ default y
help
usage: runcon CONTEXT COMMAND [ARGS...]