aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-09Cleanup pass on rfkill.Rob Landley
2014-06-09host needs -lresolvRob Landley
2014-06-09When locale is enabled, sprintf("%.123s", str) is counting characters, not ↵Rob Landley
bytes, so we can't globally enable locale without opening stack/heap smashing vulnerabilities. Make commands individually request setlocale() using TOYFLAGS instead.
2014-06-08Warning fix from Rich Felker.Rob Landley
2014-06-08Add host by Rich Felker.Rob Landley
2014-06-08Isaac Dunham also reported that some diff implementations can't handle ↵Rob Landley
nonseekable input, so write to a temporary file instead of <(command). Use trap EXIT to make sure the temporary files get deleted.
2014-06-08Isaac Dunham pointed out that busybox diff only implements unified diffs, ↵Rob Landley
and sent a patch to convert bloatcheck to use that. I tweaked it a bit.
2014-06-08Replace large parenthetical in bloatcheck with a function.Rob Landley
2014-06-07Minor tweaks to code style section.Rob Landley
2014-06-07Make 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-06-03mount: start on option parsing, implement loopback and bind mount autodetection.Rob Landley
2014-06-02Help text should have a blank line after usage: lines, and a couple other ↵Rob Landley
whitespace tweaks.
2014-06-01The tests for link and du are attached.Isaac Dunham
2014-06-01cpio: archive more filesIsaac 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-31iconv: some fixesFelix 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-31Promote partprobe.Rob Landley
2014-05-31Cleanup partprobe.Rob Landley
2014-05-31Introduce xfork() and make commands use it, and make some WEXITSTATUS() use ↵Rob Landley
WIFEXITED() and WTERMSIG()+127.
2014-05-29killall5 - kill all the processes not in its session.Ashwini Sharma
2014-05-29makedevs - making devices/nodes in a range. Supports reading the tabled ↵Ashwini Sharma
entry from file.
2014-05-29strings - print the strings in the file.Ashwini Sharma
2014-05-29First stab at mount, very incomplete.Rob Landley
2014-05-29Make "losetup /dev/loop0 filename" work.Rob Landley
Sigh. Implement the complex cases and you screw up the simple cases you already tested...
2014-05-29Switch 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-27Add mount options to data getmountlist collects.Rob Landley
2014-05-26Brush 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-26Isaac 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-25I 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-25atolx_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-25logname 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-24Bugfix from Isaac Dunham (new pci database has # comments in it) and some ↵Rob Landley
minor cleanups I had in my tree already.
2014-05-24Pending commands should default nRob Landley
2014-05-24Single-user login.Ashwini Sharma
2014-05-24The "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-24Remove 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-24Pass 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-24patch from ashwini sharma: treat 0 length read at the start of password read ↵Rob Landley
as EOF.
2014-05-23rfkill - enable/disable the radio devicesAshwini Sharma
e.g. Wireless adapter, Bluetooth devices...
2014-05-23inotifyd - watch for filesystem events.Ashwini Sharma
2014-05-23Ashwini Sharma pointed out I screwed up last.c.Rob Landley
Renamed the function, missed a user...
2014-05-22date: add -ds, document +FORMAT escapes.Rob Landley
2014-05-22Update docs for example and pending directories.Rob Landley
2014-05-21Convert bootchartd to generic_signal().Rob Landley
2014-05-21Make telnet use generic_signal(), minor in-passing cleanups.Rob Landley
2014-05-21Make telnetd use generic_signal(), inline kill_session(), close race window ↵Rob Landley
where a SIGCHLD could get lost.
2014-05-21Add generic_signal() handler, which sets toys.signal and writes byte to ↵Rob Landley
toys.signalfd if set.
2014-05-21First 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-21Make fsck.c use common list free function, collate cleanup code and move inline.Rob Landley
2014-05-21Make last use common llist free function, minor cleanups.Rob Landley
2014-05-21Add free functions for predefined llist types.Rob Landley