Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-02 | Help text should have a blank line after usage: lines, and a couple other ↵ | Rob Landley | |
whitespace tweaks. | |||
2014-06-01 | The tests for link and du are attached. | Isaac Dunham | |
2014-06-01 | cpio: archive more files | Isaac Dunham | |
While writing tests for cpio, I found that cpio tries to open empty files if they're regular files, and fails to archive them if unreadable. This can be easily avoided, and is not the usual behavior. | |||
2014-05-31 | iconv: some fixes | Felix Janda | |
- fix problem with sequences at buffer boundaries - add (ignored) -c and -s options - don't try to continue with a file when read() fails | |||
2014-05-31 | Promote partprobe. | Rob Landley | |
2014-05-31 | Cleanup partprobe. | Rob Landley | |
2014-05-31 | Introduce xfork() and make commands use it, and make some WEXITSTATUS() use ↵ | Rob Landley | |
WIFEXITED() and WTERMSIG()+127. | |||
2014-05-29 | killall5 - kill all the processes not in its session. | Ashwini Sharma | |
2014-05-29 | makedevs - making devices/nodes in a range. Supports reading the tabled ↵ | Ashwini Sharma | |
entry from file. | |||
2014-05-29 | strings - print the strings in the file. | Ashwini Sharma | |
2014-05-29 | First stab at mount, very incomplete. | Rob Landley | |
2014-05-29 | Make "losetup /dev/loop0 filename" work. | Rob Landley | |
Sigh. Implement the complex cases and you screw up the simple cases you already tested... | |||
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-27 | Add mount options to data getmountlist collects. | Rob Landley | |
2014-05-26 | Brush the dust off toysh. | Rob Landley | |
Simplify the config micromanagement tangle to just a single "interactive" option. Fix an unused variable and wrong variable type. | |||
2014-05-26 | Isaac Dunham suggested xprintf() should call fflush() instead of ferror(), ↵ | Rob Landley | |
and posix-2008 doesn't say if fflush() covers ferror() (or can return success when the stream's error state is set), so call both. | |||
2014-05-25 | I have attached a patch adding a program that allows re-reading the ↵ | Bertold Van den Bergh | |
partition table. This is often used on embedded systems booting from SD/USB devices that need to resize partitions on first boot. | |||
2014-05-25 | atolx_range() is already added into lib/lib.c, in vconfig.c atolx_range() ↵ | Ashwini Sharma | |
can be used in place of locally defined strtorange() function. | |||
2014-05-25 | logname and whoami are the same as id -un, so merge them. | Isaac Dunham | |
Since the starting letters are greater than those for 'id' or 'groups', we cn just check if the first letter is greater than 'i'. | |||
2014-05-24 | Bugfix from Isaac Dunham (new pci database has # comments in it) and some ↵ | Rob Landley | |
minor cleanups I had in my tree already. | |||
2014-05-24 | Pending commands should default n | Rob Landley | |
2014-05-24 | Single-user login. | Ashwini Sharma | |
2014-05-24 | The "not root" test happens before looking for --help, so "./sulogin --help" ↵ | Rob Landley | |
doesn't show it. Instead make the "not root" failure case always show help text. | |||
2014-05-24 | Remove debug detritus I didn't mean to to check in, and treat an "this ↵ | Rob Landley | |
variable can never actually be used uninitialized but gcc's warning generator can't tell and fails spamwards" warning. | |||
2014-05-24 | Pass the same $CFLAGS to the library probe as the final build, to work with ↵ | Rob Landley | |
broken build environments that provide different libraries for --static and dynamic builds. | |||
2014-05-24 | patch from ashwini sharma: treat 0 length read at the start of password read ↵ | Rob Landley | |
as EOF. | |||
2014-05-23 | rfkill - enable/disable the radio devices | Ashwini Sharma | |
e.g. Wireless adapter, Bluetooth devices... | |||
2014-05-23 | inotifyd - watch for filesystem events. | Ashwini Sharma | |
2014-05-23 | Ashwini Sharma pointed out I screwed up last.c. | Rob Landley | |
Renamed the function, missed a user... | |||
2014-05-22 | date: add -ds, document +FORMAT escapes. | Rob Landley | |
2014-05-22 | Update docs for example and pending directories. | Rob Landley | |
2014-05-21 | Convert bootchartd to generic_signal(). | Rob Landley | |
2014-05-21 | Make telnet use generic_signal(), minor in-passing cleanups. | Rob Landley | |
2014-05-21 | Make telnetd use generic_signal(), inline kill_session(), close race window ↵ | Rob Landley | |
where a SIGCHLD could get lost. | |||
2014-05-21 | Add generic_signal() handler, which sets toys.signal and writes byte to ↵ | Rob Landley | |
toys.signalfd if set. | |||
2014-05-21 | First pass init cleanup: use sigatexit() to set multiple signal handlers, ↵ | Rob Landley | |
rename set_sane_term() to reset_term() and have it take the fd it works on as an argument, some whitespace and help text tweaks. | |||
2014-05-21 | Make fsck.c use common list free function, collate cleanup code and move inline. | Rob Landley | |
2014-05-21 | Make last use common llist free function, minor cleanups. | Rob Landley | |
2014-05-21 | Add free functions for predefined llist types. | Rob Landley | |
2014-05-21 | dhcp client had a segfault, when DHCP message contained 'pad' option. | Ashwini Sharma | |
The parsing logic kept checking for other options beyond __pad__ option, without checking if it was __end__ option after that or not. | |||
2014-05-20 | lspci text output: add -i, allow -n when disabled | Isaac Dunham | |
-i is how standard lspci handles changing the PCI ID database. lspci -n should be a no-op when text is disabled. | |||
2014-05-19 | Cleanup pass on bootchartd. | Rob Landley | |
Might have broken something, don't actually have a test case for bootchartd yet. | |||
2014-05-19 | Fluff out the coding style section, but the result was a bit big for the ↵ | Rob Landley | |
start of code.html, so move it to design.html. | |||
2014-05-18 | Quick cleanup pass on ps. | Rob Landley | |
2014-05-18 | Cleanup pass on lspci | Rob Landley | |
2014-05-18 | Teach singleconfig to switch on sub-options of commands it's building. | Rob Landley | |
If we're building a standalone version, it might as well have all the bells and whistles enabled. | |||
2014-05-15 | bootchartd by Bilal Qureshi. | Rob Landley | |
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-05-15 | Promote sysctl from pending to other, default y. | Rob Landley | |
2014-05-15 | More sysctl cleanup: fix error message on nonexistent key, write path, and -p. | Rob Landley | |