OSDN Git Service

Regenerate generated files.
authorElliott Hughes <enh@google.com>
Mon, 31 Aug 2015 18:37:31 +0000 (11:37 -0700)
committerElliott Hughes <enh@google.com>
Mon, 31 Aug 2015 18:37:31 +0000 (11:37 -0700)
Change-Id: I647814ca584713988ad8f104da0cb3bd5c0787ab

.config
generated/config.h
generated/flags.h
generated/help.h
generated/newtoys.h

diff --git a/.config b/.config
index 2d354d0..c22ecf8 100644 (file)
--- a/.config
+++ b/.config
@@ -288,6 +288,7 @@ CONFIG_UMOUNT=y
 # CONFIG_HELLO is not set
 # CONFIG_SKELETON is not set
 # CONFIG_SKELETON_ALIAS is not set
+# CONFIG_TEST_HUMAN_READABLE is not set
 
 #
 # Android
index 3cfcdc0..e5f0cec 100644 (file)
 #define USE_SKELETON(...)
 #define CFG_SKELETON_ALIAS 0
 #define USE_SKELETON_ALIAS(...)
+#define CFG_TEST_HUMAN_READABLE 0
+#define USE_TEST_HUMAN_READABLE(...)
 #define CFG_GETENFORCE 1
 #define USE_GETENFORCE(...) __VA_ARGS__
 #define CFG_GETPROP 1
index 2fb316f..2a9cfcb 100644 (file)
 #undef FLAG_c
 #endif
 
-// ionice ^tc#<0>3n#<0>7=5p# ^tc#<0>3n#<0>7=5p#
+// ionice ^tc#<0>3=2n#<0>7=5p# ^tc#<0>3=2n#<0>7=5p#
 #undef OPTSTR_ionice
-#define OPTSTR_ionice "^tc#<0>3n#<0>7=5p#"
+#define OPTSTR_ionice "^tc#<0>3=2n#<0>7=5p#"
 #ifdef CLEANUP_ionice
 #undef CLEANUP_ionice
 #undef FOR_ionice
 #undef FOR_test
 #endif
 
+// test_human_readable   <1>1ibs
+#undef OPTSTR_test_human_readable
+#define OPTSTR_test_human_readable  0 
+#ifdef CLEANUP_test_human_readable
+#undef CLEANUP_test_human_readable
+#undef FOR_test_human_readable
+#undef FLAG_s
+#undef FLAG_b
+#undef FLAG_i
+#endif
+
 // tftp   <1b#<8>65464r:l:g|p|[!gp]
 #undef OPTSTR_tftp
 #define OPTSTR_tftp  0 
 #endif
 #endif
 
+#ifdef FOR_test_human_readable
+#ifndef TT
+#define TT this.test_human_readable
+#endif
+#define FLAG_s (FORCED_FLAG<<0)
+#define FLAG_b (FORCED_FLAG<<1)
+#define FLAG_i (FORCED_FLAG<<2)
+#endif
+
 #ifdef FOR_tftp
 #ifndef TT
 #define TT this.tftp
index c07c86c..401213e 100644 (file)
@@ -1,4 +1,6 @@
-#define help_toybox_uid_usr "When commands like useradd/groupadd allocate user IDs, start here.\n"
+#define help_toybox_musl_nommu_is_broken "When using musl-libc on a nommu system, you'll need to say \"y\" here.\n\nAlthough uclibc lets you detect support for things like fork() and\ndaemon() at compile time, musl intentionally includes broken versions\nthat always return -ENOSYS on nommu systems, and goes out of its way\nto prevent any cross-compile compatible compile-time probes for a\nnommu system.\n\nMusl does this despite the fact that a nommu system can't even run\nstandard ELF binaries, and requires specially packaged executables.\n(You can't even check a #define to see that you're building against\nmusl, due to its maintainer's policy that musl never has bugs that\nrequire workarounds.)\n\nSo our only choice is to manually provide a musl nommu bug workaround\nyou can manually select to enable (larger, slower) nommu support with\nmusl.\n\nYou don't need this for uClibc, we have a compile time probe that\nautodetects nommu support there.\n\n"
+
+#define help_toybox_uid_usr "When commands like useradd/groupadd allocate user IDs, start here.\n\n"
 
 #define help_toybox_uid_sys "When commands like useradd/groupadd allocate system IDs, start here.\n\n"
 
@@ -40,7 +42,9 @@
 
 #define help_getenforce "usage: getenforce\n\nShows whether SELinux is disabled, enforcing, or permissive.\n\n"
 
-#define help_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command with different arguments in the same source\nfile as the first. This allows shared infrastructure not added to lib/.\n\n\n"
+#define help_test_human_readable "usage: test_human_readable [-sbi] NUMBER\n\n\n"
+
+#define help_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command with different arguments in the same source\nfile as the first. This allows shared infrastructure not added to lib/.\n\n"
 
 #define help_skeleton "usage: skeleton [-a] [-b STRING] [-c NUMBER] [-d LIST] [-e COUNT] [...]\n\nTemplate for new commands. You don't need this.\n\nWhen creating a new command, copy this file and delete the parts you\ndon't need. Be sure to replace all instances of \"skeleton\" (upper and lower\ncase) with your new command name.\n\nFor simple commands, \"hello.c\" is probably a better starting point.\n\n"
 
index e6af5be..6aae7bc 100644 (file)
@@ -96,7 +96,7 @@ USE_INIT(NEWTOY(init, "", TOYFLAG_SBIN))
 USE_INOTIFYD(NEWTOY(inotifyd, "<2", TOYFLAG_USR|TOYFLAG_BIN))
 USE_INSMOD(NEWTOY(insmod, "<1", TOYFLAG_SBIN|TOYFLAG_NEEDROOT))
 USE_INSTALL(NEWTOY(install, "<1cdDpsvm:o:g:", TOYFLAG_USR|TOYFLAG_BIN))
-USE_IONICE(NEWTOY(ionice, "^tc#<0>3n#<0>7=5p#", TOYFLAG_USR|TOYFLAG_BIN))
+USE_IONICE(NEWTOY(ionice, "^tc#<0>3=2n#<0>7=5p#", TOYFLAG_USR|TOYFLAG_BIN))
 USE_IORENICE(NEWTOY(iorenice, "?<1>3", TOYFLAG_USR|TOYFLAG_BIN))
 USE_IP(NEWTOY(ip, NULL, TOYFLAG_SBIN))
 USE_IP(OLDTOY(ipaddr, ip, TOYFLAG_SBIN))
@@ -215,6 +215,7 @@ USE_TEE(NEWTOY(tee, "ia", TOYFLAG_USR|TOYFLAG_BIN))
 USE_TELNET(NEWTOY(telnet, "<1>2", TOYFLAG_BIN))
 USE_TELNETD(NEWTOY(telnetd, "w#<0b:p#<0>65535=23f:l:FSKi[!wi]", TOYFLAG_USR|TOYFLAG_BIN))
 USE_TEST(NEWTOY(test, NULL, TOYFLAG_USR|TOYFLAG_BIN))
+USE_TEST_HUMAN_READABLE(NEWTOY(test_human_readable, "<1>1ibs", 0))
 USE_TFTP(NEWTOY(tftp, "<1b#<8>65464r:l:g|p|[!gp]", TOYFLAG_USR|TOYFLAG_BIN))
 USE_TFTPD(NEWTOY(tftpd, "rcu:l", TOYFLAG_BIN))
 USE_TIME(NEWTOY(time, "<1^p", TOYFLAG_USR|TOYFLAG_BIN))