Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-15 | Use lsm_set_create() to set security blanket context before mknod, avoiding | Rob Landley | |
racy gap between create/label. | |||
2015-05-31 | mknod: Add -Z option | José Bollo | |
Change-Id: I23174fb7b54d029784e6d7460368128113090079 | |||
2015-05-14 | Bugfix from Hyejin Kim: su should not prompt root user for new user's password. | Rob Landley | |
2015-05-03 | Fix dmesg -c error output. | Elliott Hughes | |
Use perror_exit to show the likely "Operation not permitted" if klogctl fails. | |||
2015-05-03 | Minor dmesg cleanup. | Rob Landley | |
2015-05-02 | dmesg: add -t suppress timestamp flag | Mark Salyzyn | |
2015-04-12 | Before trying to remount read only, see if block device responds to "become rw" | Rob Landley | |
ioctl(). (This is a thing Android's old mount already does.) | |||
2015-04-04 | To ensure that toybox can be installed alongside busybox without | Paul Barker | |
confusing update-alternatives, the paths of the links installed by toybox should match those installed by busybox. This is accomplished by changing the flags of a few tools within toybox. | |||
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-01 | Patches from Elliott Hughes to add missing arguments to error_exit() calls. | Rob Landley | |
2015-02-12 | Fix bug introduced by last commit (print template instead of toybuf). | Rob Landley | |
Also, xstrdup() the unmodified template because changing the environment string could make the changed version show up in "ps". | |||
2015-02-11 | Only apply mktemp directory to targets that aren't already paths. | Rob Landley | |
2015-02-10 | Fix longopts (pointed out by Hyejin Kim). | Rob Landley | |
2015-02-07 | Shameless meddling. | Rob Landley | |
2015-02-07 | Use $TMPDIR if set (necessary on Android, where there is no /tmp). | Elliot Hughes | |
Include full template in error messages. Don't report success on failure with -q. Avoid unnecessary allocation. Fix "xxxxxx" versus "XXXXXX" confusion. | |||
2014-12-02 | Don't mount a filesystem over an existing one with the same /dev and /dir. | Rob Landley | |
The OS mostly catches this for block devices, but calling "mount -a" twice shouldn't overmount tmpfs entries with new tmpfs instances. (This needs a test suite entry, and the test suite needs a root context to run in...) | |||
2014-11-25 | Update dmesg, loosely based on a patch from Elliott Hughes. | Rob Landley | |
Probe the default buffer size, replace the constants with FLAG_x macros, add -r, replace the byte at a time output with a single xwrite(), more comments. | |||
2014-11-19 | Make md5sum and sha1sum work on big endian systems.0.5.1 | Rob Landley | |
2014-11-19 | probe for getspnam(), forkpty(), utmpx, replace sethostname() | Isaac Dunham | |
Android is missing all of these; we need to probe for some so we have a config symbol to depend on. sethostname() is easily replaced. We got termios.h via pty.h; now it's not included in configure-step tools, so we need termios.h to generate globals. | |||
2014-10-09 | Various bugfixes (mostly resource leaks) from Ashwini Sharma's static ↵ | Rob Landley | |
analysis, plus occasional tweak by me while reviewing them. | |||
2014-09-28 | Fix two mount bugs: 1) Don't skip a filesystem type when setting up loopback ↵ | Rob Landley | |
mount, 2) Don't stop checking filesystem types due to EBUSY, it may mean already mounted by another filesystem type you haven't tried yet. | |||
2014-09-28 | mount: terminate list so unknown user mount attempts don't endlessly loop, ↵ | Rob Landley | |
add better error reporting. | |||
2014-09-26 | Separate more commands so single.sh can build them standalone. | Rob Landley | |
2014-09-22 | When killall was invoked without arguments, there appeared segmentation fault | ?ukasz Szpakowski | |
2014-09-14 | Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ↵ | Rob Landley | |
we want to redirect both, one, or neither of stdin/stdout. | |||
2014-09-07 | Promote mount. It's not perfect, but it basically works now. | Rob Landley | |
2014-08-24 | Work in progress snapshot of mount, with fallout to umount. (Not done yet.) | Rob Landley | |
2014-07-05 | Try to lookup all umounts in /proc/mounts so we can auto-zap loopback devices. | Rob Landley | |
2014-06-07 | Make md5sum/sha1sum -b flag be "brief" output (just the hash). | Rob Landley | |
(It's not like systems implementing -b binary and -t text still matter.) | |||
2014-05-29 | Switch mtab_list to doubly linked so we can traverse in either order. ↵ | Rob Landley | |
Convert umount and df. Add dlist_terminate() to break lists for traversal in either direction. | |||
2014-05-15 | Here's a quick cleanup of md5sum. Executive summary: smaller and faster. | Daniel Verkamp | |
On my machine, for a 2.2 GB file of random bytes, the timings with warm cache are: toybox before: 11.4 seconds toybox after: 8.3 seconds GNU md5sum: 3.9 seconds openssl dgst -md5: 3.5 seconds This is clearly better than before (3x openssl), but still slow (2x openssl). I suspect there is more low-hanging fruit to be had by eliminating the memcpy in hash_update (maybe not too much - hash_update accounts for about 4% of total runtime versus 92% for md5_transform according to perf - but this would also help sha1sum). make bloatcheck on x86_64 gcc 4.8.2 -Os: name old new delta ----------------------------------------------------------------------- md5rot 0 64 64 md5_transform 365 223 -142 ----------------------------------------------------------------------- -78 total Rationale for the changes: Move definition of 'rol' up so it can be used in md5_transform. This is purely cosmetic; it expands to exactly the same code. Put rotation counts in a lookup table instead of calculating them on the fly. This is mostly a wash size-wise, +5 bytes total, but worthwhile for readability and speed. Instead of accessing the state array using a rotating index (the variable formerly known as 'a'), access the state with constant offsets and rotate the contents of the array instead. This is the big win - it eliminates all the crazy memory addressing math inside the loop. | |||
2014-04-25 | Cosmetic tweak: spell out "Linux Standard Base" in menuconfig. | Rob Landley | |
2014-04-09 | Bugfix: if $TERM and friends aren't set, putenv() got passed a NULL. | Rob Landley | |
2014-01-16 | Rename xmsprintf() to just xmprintf(). | Rob Landley | |
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. | |||
2013-12-23 | Fix some issues raised (albeit indirectly) by Isaac Dunham. | Rob Landley | |
POLL_IN defined as a constant by some libc. Factor out login.c's change_identity() to xwrap.c as xsetuser(). Replace xsetuid() with xsetuser() Put a space between argument globals and non-argument globals. TT starts zeroed, don't need to re-zero entries in it. STDIN_FILENO has been 0 since 1969, even DOS copied that. Just say 0. Added an xchroot() using xchdir() to lib/xwrap.c. Remove endgrent() call until somebody can explain why it was there. | |||
2013-12-22 | Add -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.) | Rob Landley | |
2013-12-22 | Promote su from pending to lsb. | Rob Landley | |
2013-12-19 | killall: fix return code, improve error reporting, avoid buffer overflow. | Rob Landley | |
2013-12-19 | Don't permute toys.optargs, cleanup code (xexec()) can free it. | Rob Landley | |
2013-12-16 | Fix pidof -o bug aborting output, reported by Ashwini Sharma. | Rob Landley | |
2013-11-28 | Add xgetpwnam() to lib/xwrap.c. | Rob Landley | |
2013-10-16 | Prep work for useradd by Ashwini Sharma. | Rob Landley | |
2013-09-11 | Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. ↵0.4.6 | Rob Landley | |
(Fix it.) | |||
2013-09-03 | Replace ↵ | Rob Landley | |
for_each_pid_with_name_in_array_perform_callback_function_upon_translated_value() with name_to_pid(), comparing absolute paths or just basename() consistently as spotted by Lukasz Skalski, and adjust callers. | |||
2013-09-04 | First pass at umount, not quite done yet. | Rob Landley | |
2013-08-18 | Whitespace changes to passwd. | Rob Landley | |
2012-12-23 | Minor cleanups. | Rob Landley | |
2012-12-16 | LSB does not allow killall to kill itself | Elie De Brauwer | |
2012-12-16 | Extend killall with support for -v and -i | Elie De Brauwer | |