Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-27 | Flag to make llvm shut up about a broken warning. | Rob Landley | |
2015-03-27 | tail: add old -123 support and comment out #-f until it's actually implemented. | Rob Landley | |
2015-03-27 | Promote load_policy to android. | Rob Landley | |
2015-03-27 | Minor cleanup of load_policy. | Rob Landley | |
2015-03-26 | Explain the craptacular nature of kconfig, and the plan to replace it. | Rob Landley | |
2015-03-25 | Fix toybox build with C99 compilers | Bernhard Rosenkr?nzer | |
toybox "make menuconfig" currently fails to build if the compiler is in C99 mode (clang 3.6 and gcc 5.0 snapshots default to C99 mode, you can also reproduce the failure with older gcc by using 'make menuconfig HOSTCC="gcc -std=gnu99"'). The problem is that inline semantics changed in C99, and kconf_id_lookup's inline-ness depends on C89 semantics there. | |||
2015-03-24 | Implement load_policy. | Elliott Hughes | |
Note that this is a case where Android's tool isn't the same as the usual tool. Ours takes an explicit file containing the policy to be loaded. restorecon is at least command-line compatible, but the implementation is all in Android's libselinux where there's a selinux_android_restorecon function. | |||
2015-03-23 | Promote runcon to android (and add an android menu). | Rob Landley | |
2015-03-23 | Trivial runcon cleanups. | Rob Landley | |
2015-03-23 | Add runcon(1). | Elliott Hughes | |
2015-03-23 | add missing space in dd output | Elliott Hughes | |
Also, coreutils says "s" instead of "seconds". POSIX specifies the format of the previous two lines, but doesn't even mention this line. | |||
2015-03-23 | Tweak of Elliott Hughes's fix for an off by one error in human_readable | Rob Landley | |
(137 returned "137 KB".) | |||
2015-03-23 | Update the Android section of the roadmap. | Elliott Hughes | |
I've removed the reference to fs_mgr, since that's really part of vold rather than a subset of mount(1), and I've removed the reference to ifconfig because we're already using the toybox ifconfig and the reference in this document to the Android command that it referred to (netcfg) was already removed. | |||
2015-03-21 | Another bug from David Halls: find -exec wasn't consuming its argument when ↵ | Rob Landley | |
it didn't activate. test: find . -name README -exec echo one '{}' ';' -or -exec echo two '{}' ';' | |||
2015-03-21 | install -D bugfix from David Halls. | Rob Landley | |
(I tweaked some comment text while I was there.) | |||
2015-03-21 | Patch from David Halls to fix mac/ios portability issue. | Rob Landley | |
2015-03-19 | Add -123 support to head (suggested by Elliott Hughes). | Rob Landley | |
2015-03-18 | mdev : add hotplugin feature | Hyejin Kim | |
As internal needs, Ranjan Kumar (ranjankumar.bth at gmail.com) added hotplug feature into mdev. | |||
2015-03-16 | Fix mount -a segfault without -O, reported by Janus Troelsen. | Rob Landley | |
2015-03-16 | Rename a function to better describe what it does. | Rob Landley | |
2015-03-15 | I added error handling code in write_rotate(). | Hyejin Kim | |
I think that it is better to check tf->logfd before doing truncate()/write() and getting error. | |||
2015-03-14 | More ps cleanup, mostly refactoring. | Rob Landley | |
2015-03-13 | Minor ps refactoring. | Rob Landley | |
2015-03-13 | Clean up sort help text. | Rob Landley | |
Use tabs for option indent and don't have -g show up in menu (TOYBOX_FLOAT is the decision). | |||
2015-03-12 | Switch nsenter to default y. | Rob Landley | |
2015-03-12 | Implement shred -u and switch to default y in defconfig. | Rob Landley | |
2015-03-12 | Remove cat -v help text debris. | Rob Landley | |
2015-03-12 | The time command depends on floating point support. | Rob Landley | |
2015-03-12 | Make find accept numeric uid/gid, and simplify makedevs using the new ↵ | Rob Landley | |
infrastructure. | |||
2015-03-12 | Make install support numeric uid/gids (reported by Kylie McClain). | Rob Landley | |
2015-03-12 | Factor out xgetgrnamid() and xgetpwnamid() into xwrap.c. | Rob Landley | |
2015-03-11 | Fix mktemp when TMPDIR is set to empty string, reported by Kylie McClain. | Rob Landley | |
2015-03-10 | Add -m to mknod | Rob Landley | |
2015-03-10 | Use xsignal() instead of signal(). | Rob Landley | |
2015-03-09 | Fix thinko (don't &toybuf to get scratch space) and add -v option. | Rob Landley | |
2015-03-09 | Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and ↵ | Rob Landley | |
signal handling. | |||
2015-03-06 | sed depends on -r to be rightmost flag to simplify the REG_EXTENDED test. | Rob Landley | |
(If a flag is 1, you can multiply it by the value you want and get that value else zero without a branch or conditional assignment.) So move -E one to the left so FLAG_r is 1 again, and add a [+Er] suffix instead of testing FLAG_r | FLAG_E in the users. | |||
2015-03-06 | The "no }" error with find | xargs sed is because toy_init() wasn't blanking ↵ | Rob Landley | |
the GLOBALS() block on a recursive call. (How that ever worked...) | |||
2015-03-06 | Yank $STRIP from config (and STRIP=no weirdness) and just allow strip to fail. | Rob Landley | |
2015-03-04 | scripts/mkflags.c : main function need return 0 if normal exit | Hyejin Kim | |
2015-03-03 | Quick cleanup pass on tar. | Rob Landley | |
2015-03-02 | On 64 bit, subtracting two pointers produces a long result. On 32 bit, it's ↵ | Rob Landley | |
an int. Even though long _is_ 32 bits on a 32 bit systems, gcc warns about it because reasons. Also, the warning being that "expects int, but type is wchar_t"... no, type is not wchar_t. Type is probably long. Specify the ACTUAL TYPE, not the random typedef alias for it. If the translated type _did_ match, there wouldn't be a warning! (This is why c89 promoted all arguments to int, precisely so this wasn't a problem.) | |||
2015-03-01 | Fix several printf_format warnings. | Rob Landley | |
2015-03-01 | Only switch on printf format warnings for error_exit() and friends when ↵ | Rob Landley | |
TOYBOX_DEBUG enabled. One again gcc manages to be incompetent about producing warnings. For example, in bzcat we error_exit() with a message that's an error code fed into an array of string constants, and apparently dereferencing an array of string literals doesn't give you a string literal according to -Wformat-security. Not breaking the code to humor the compiler here, the compiler is wrong. | |||
2015-03-01 | let the compiler check format strings | Elliott Hughes | |
i'll be AFK for a week, so here's the patch i've been using this evening to find other format string mistakes. BSD uses __printflike and takes two arguments instead of hard-coding (1,2), but i figured that as long as you don't need the generality you'd prefer not to have it. and it's easy enough to retrofit if we ever do have a formatting function that takes other arguments. | |||
2015-03-01 | fix format problems in tar.c | Elliott Hughes | |
%o is unsigned, but off_t is signed. * takes an int. an error_msg call was missing an argument. only one of these is an actual error, but i'd like to fix the others too so that we (toybox, but if not, then Android) can turn on format string warnings to prevent future bugs like the stat.c LP32 ones. | |||
2015-03-01 | Patches from Elliott Hughes to fix various printf() format strings. | Rob Landley | |
(Don't specify the space flag when it's the default behavior. The ifconfig stuff was actual bugs.) | |||
2015-03-01 | Patches from Elliott Hughes to add missing arguments to error_exit() calls. | Rob Landley | |
2015-03-01 | remove accidental space in format string | Elliott Hughes | |
the ' ' flag makes no sense for %c. | |||
2015-03-01 | fix copy/paste-o in useradd.test | Elliott Hughes | |