aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2014-09-06Work around uClibc brain-damage.Rob Landley
2014-08-24Work in progress snapshot of mount, with fallout to umount. (Not done yet.)Rob Landley
2014-08-18Cleanups on useradd/groupadd/groupdel, and put TOYBOX_UID_SYS and TOYBOX_UID_...Rob Landley
2014-08-15Fix bug reported by Ashwini Sharma: [-abc] syntax to switch off a command forgetRob Landley
2014-08-15If string_to_mode() is called on a base mode with S_ISDIR() and such set, pas...Rob Landley
2014-08-12Patches to commands for issues reported from static analysis tool.Ashwini Sharma
2014-08-03Implement exec -user, -group, and -newer. Enable find in defconfig.Rob Landley
2014-08-02Yank xrealpath prototype since the function's gone.Rob Landley
2014-07-30As long as I had to write xabspath(), no point in wrapping realpath().Rob Landley
2014-07-29Actually set the again flag when calling the dirtree comeagain callback.Rob Landley
2014-07-26Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ope...Rob Landley
2014-07-26Default xcreate/xopen to O_CLOEXEC. (Pass O_CLOEXEC in the flags to switch it...Rob Landley
2014-07-21Improve gid/uid error messages.Rob Landley
2014-07-21Little endian and big endian versions of peek (for host.c).Rob Landley
2014-07-21Fix memory leak in error path.Rob Landley
2014-07-20Add utf8 support to ls -C.Rob Landley
2014-07-19find needs "c" suffix to -size.Rob Landley
2014-07-17Use libc daemon() instead of pending daemonize.Rob Landley
2014-06-28Cleanup read_password(), factor out set_terminal(), fix salt bug (des wants t...Rob Landley
2014-06-25Cleanup pass on mkpasswd.cRob Landley
2014-06-24find_in_path() is supposed to work with a NULL path, but didn't. Fix it.Rob Landley
2014-06-09Forgot to check in strstart().Rob Landley
2014-06-03mount: start on option parsing, implement loopback and bind mount autodetection.Rob Landley
2014-05-31Introduce xfork() and make commands use it, and make some WEXITSTATUS() use W...Rob Landley
2014-05-29Switch mtab_list to doubly linked so we can traverse in either order. Convert...Rob Landley
2014-05-27Add mount options to data getmountlist collects.Rob Landley
2014-05-26Isaac Dunham suggested xprintf() should call fflush() instead of ferror(), an...Rob Landley
2014-05-24patch from ashwini sharma: treat 0 length read at the start of password read ...Rob Landley
2014-05-21Add generic_signal() handler, which sets toys.signal and writes byte to toys....Rob Landley
2014-05-21Add free functions for predefined llist types.Rob Landley
2014-05-06Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make d...Rob Landley
2014-05-06Use compiler built-in macros to determine if argument parsing can use double ...Rob Landley
2014-05-02In function readfile(), the buffer buf is free'd when readall() fails. This ...Ashwini Sharma
2014-04-15Probes for O_NOFOLLOW that compile and run something aren't compatible with c...Rob Landley
2014-03-29Group headers by standard (POSIX or LSB) or function (internationalization, n...Rob Landley
2014-03-24Fix mkdir -p with absolute paths.Rob Landley
2014-03-11Move mkpathat to lib, remove redundant function used by patch.Rob Landley
2014-03-11Add "volatile" annotation to peek/poke to stop potential optimizer overreach.Rob Landley
2014-02-28Fix another bug reported by Ashwini Sharma.Rob Landley
2014-02-16Various cleanups found by Tom Sparrow's static analysis.Rob Landley
2014-02-07Move bunzip2 logic from lib into bzcat.Rob Landley
2014-01-28Two changes to shut up GCC:Isaac Dunham
2014-01-16Rename xmsprintf() to just xmprintf().Rob Landley
2013-12-27Pass through all the readfile() arguments from xreadfile().Rob Landley
2013-12-23Attached is an implementation for groupdel.Ashwini Sharma
2013-12-23Fix some issues raised (albeit indirectly) by Isaac Dunham.Rob Landley
2013-12-19Only define MNT_DETACH for old glibc, portability.h included _before_ sys/mou...Rob Landley
2013-12-19Regression test against Ancient Build Environment (Ubuntu 8.04), fixup bit-rot.Rob Landley
2013-12-19Move names_to_pid from pending to lib.Rob Landley
2013-12-08Doing math on void pointers isn't portable, reported by Nathan McSween.Rob Landley