summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2015-01-16Move pty.h back to toys.h (under LSB 4.1 headers).Rob Landley1-3/+0
2015-01-16AOSP master has <pty.h> and builds netcat/nc.Elliott Hughes1-4/+1
2015-01-16id.c #ifdefectomy. (ifdefs belong in headers, not in C code.)Rob Landley1-0/+3
2015-01-16This patch adds a TOYBOX_SELINUX configuration option to control bothElliott Hughes1-0/+4
2015-01-03Move fflush() checking to xexit() and have exit paths in main() call that.Rob Landley1-0/+2
2015-01-01strtol() doesn't return error indicator for overflow, it just sets errno. So ...Rob Landley2-5/+25
2015-01-01Debris from flag handling rewrite: don't allow -^A to actually trigger.Rob Landley1-0/+1
2014-12-31Redo option parsing infrastructure so #define FORCE_FLAGS can unzero flag mac...Rob Landley1-1/+1
2014-12-31When you include the posix header libgen.h, glibc #defines basename to some r...Rob Landley2-0/+17
2014-12-22Allocate space for null terminator.Rob Landley1-2/+1
2014-12-13Forgot to check in a header file for base64.Rob Landley1-0/+2
2014-12-13Add base64.Rob Landley1-0/+15
2014-12-13Remove more strncpy() calls.Rob Landley1-2/+3
2014-12-09ls: Fix indentation of -Ci and -CsJan Cybulski1-2/+5
2014-12-09Imported Upstream version 0.5.1upstream/0.5.1xroche6-10/+47
2014-12-04Work with buildroot's extensively patched uClibc, and for nommu support move ...Rob Landley4-10/+32
2014-12-04Implement xstrncat() and fix xstrndup().Rob Landley2-4/+18
2014-11-28Make sendfile use libbuf.Rob Landley1-3/+2
2014-11-22As long as Android's going to require fortify, fixup the warnings it generates.Rob Landley1-12/+0
2014-11-21A patch against your current ToT that builds in AOSP master.Elliott Hughes2-16/+1
2014-11-21Don't include asm/* files directly.Rob Landley1-1/+1
2014-11-21Patch from Elliott Hughes for Android/bionic build.Rob Landley1-1/+4
2014-11-19Fixups for the android/bionic build probes patch.Rob Landley1-3/+5
2014-11-19probe for getspnam(), forkpty(), utmpx, replace sethostname()Isaac Dunham2-1/+26
2014-11-11Remove unnecessary assignment spotted by Cynt Rynt.Rob Landley1-1/+1
2014-10-27O_CLOEXEC was confusing the O_RDONLY test in loopfiles(), resulting in attemp...Rob Landley1-2/+2
2014-10-20More static analysis fixes from Ashwini Sharma.Rob Landley1-0/+1
2014-10-20Add TOYBOX_NORECURSE so xexec() won't make internal function calls.Rob Landley1-1/+1
2014-10-18Factor out printf-style escape parsing logic from echo.c.Rob Landley2-0/+9
2014-10-14Use O_CLOEXEC instead of O_RDONLY to signal loopfiles_rw() to close filehandles.Rob Landley1-5/+5
2014-10-02Workaround for musl's faccessat bug (the rm -r "error: is a directory" thing).Rob Landley1-0/+6
2014-09-28Brown paper bag time: comma_scan() didn't work for anything but the last entry.Rob Landley1-1/+1
2014-09-27Don't segfault for --help of single.sh build of OLDTOY commands that use anot...Rob Landley1-0/+5
2014-09-26The only illegal characters in a username are ":" (field separator), "\n" (li...Rob Landley2-32/+1
2014-09-22Respond to two static analysis issues in dirtree_path() reported by Ashwini S...Rob Landley1-1/+5
2014-09-20Tweak portability.h for uClibc version in buildroot defconfig.Rob Landley1-0/+2
2014-09-14Second attempt at one way xpopen().Rob Landley1-4/+6
2014-09-14Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ...Rob Landley2-25/+61
2014-09-07Debugging pass on mount. Not quite done yet, but the basics seem to work now.Rob Landley1-3/+5
2014-09-06Work around uClibc brain-damage.Rob Landley1-0/+12
2014-08-24Work in progress snapshot of mount, with fallout to umount. (Not done yet.)Rob Landley2-0/+131
2014-08-18Cleanups on useradd/groupadd/groupdel, and put TOYBOX_UID_SYS and TOYBOX_UID_...Rob Landley1-2/+0
2014-08-15Fix bug reported by Ashwini Sharma: [-abc] syntax to switch off a command forgetRob Landley1-2/+5
2014-08-15If string_to_mode() is called on a base mode with S_ISDIR() and such set, pas...Rob Landley1-4/+6
2014-08-12Patches to commands for issues reported from static analysis tool.Ashwini Sharma1-0/+4
2014-08-03Implement exec -user, -group, and -newer. Enable find in defconfig.Rob Landley2-0/+9
2014-08-02Yank xrealpath prototype since the function's gone.Rob Landley1-1/+0
2014-07-30As long as I had to write xabspath(), no point in wrapping realpath().Rob Landley1-8/+0
2014-07-29Actually set the again flag when calling the dirtree comeagain callback.Rob Landley1-1/+4
2014-07-26Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ope...Rob Landley2-9/+13