From 957c3f7eaa4b56d6470ce8ef382b132c1aae9ca0 Mon Sep 17 00:00:00 2001
From: Rob Landley
According to system/core/toolbox/Android.mk the toolbox directory builds -the following commands:
+According to +system/core/toolbox/Android.mk the toolbox directory builds the +following commands:
-dd du df getevent getprop iftop ioctl ionice load_policy log ls -lsof mount nandread newfs_msdos ps prlimit renice restorecon -sendevent setprop start stop top uptime watchprops +dd du df getevent iftop ioctl ionice log ls +lsof mount nandread newfs_msdos ps prlimit renice +sendevent start stop top uptime watchprops
For reference, combining everything listed above, we get:
-dd du df getevent getprop gpttool iftop init ioctl ionice +dd du df getevent gpttool iftop init ioctl ionice log logcat logwrapper ls lsof mkbootimg mount nandread -newfs_msdos ps prlimit reboot renice restorecon run-as -sendevent setprop start stop top uptime watchprops +newfs_msdos ps prlimit reboot renice run-as +sendevent start stop top uptime watchprops
We may eventually implement all of that, but for toybox 1.0 we need to -focus a bit. For our first pass, let's ignore selinux, +focus a bit. For our first pass, let's ignore selinux [note: the android +guys submitted selinux code to us and we merged it], and grab just logcat and logwrapper from the "core" commands (since the rest have some full/standard version providing that functionality, which we can implement a shim interface for later).
@@ -284,9 +286,9 @@ functionality, which we can implement a shim interface for later).This means toybox should implement (or finish implementing):
-dd du df getevent getprop iftop ioctl ionice log logcat logwrapper ls lsof +dd du df getevent iftop ioctl ionice log logcat logwrapper ls lsof mount nandread newfs_msdos ps prlimit renice schedtop sendevent -setprop smd start stop top uptime watchprops +smd start stop top uptime watchprops@@ -305,7 +307,7 @@ arch base64 users dir vdir unexpand shred join csplit hostid nproc runcon sha224 sha256 sha384 sha512 sha3 mkfs.vfat fsck.vfat dosfslabel uname stdbuf pinky diff3 sdiff zcmp zdiff zegrep zfgrep zless zmore - +
In addition, they'd like to use several commands currently in pending:
@@ -315,6 +317,10 @@ tar diff printf wget rsync fdisk vi less tr test stty fold expr dd +Also, tizen uses a different Linux Security Module called SMACK, so +many of the SELinux options ala ls -Z need smack alternatives in an +if/else setup.
+