aboutsummaryrefslogtreecommitdiff
path: root/lib/xwrap.c
AgeCommit message (Expand)Author
2015-10-27Replace xcount_cpus() with a call to sysconf(_SC_NPROCESSORS_CONF)Rob Landley
2015-10-25Add xcount_cpus()Rob Landley
2015-09-29Make defconfig build for nommu.Rob Landley
2015-09-27Another chunk of nommu support, replacing toys.recursion with toys.stacktop.Rob Landley
2015-08-06Adjust xexec() exit code to be 127, and tweaks for nommu friendliness.Rob Landley
2015-03-12Factor out xgetgrnamid() and xgetpwnamid() into xwrap.c.Rob Landley
2015-03-09Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and s...Rob Landley
2015-03-01Patches from Elliott Hughes to add missing arguments to error_exit() calls.Rob Landley
2015-02-09Cleanup/refactoring pass on hwclock.Rob Landley
2015-02-07Remove xexec_optargs().Rob Landley
2015-01-18Remove trailing whitespace.Rob Landley
2015-01-03Move fflush() checking to xexit() and have exit paths in main() call that.Rob Landley
2014-12-04Work with buildroot's extensively patched uClibc, and for nommu support move ...Rob Landley
2014-12-04Implement xstrncat() and fix xstrndup().Rob Landley
2014-11-28Make sendfile use libbuf.Rob Landley
2014-10-20More static analysis fixes from Ashwini Sharma.Rob Landley
2014-10-20Add TOYBOX_NORECURSE so xexec() won't make internal function calls.Rob Landley
2014-09-14Second attempt at one way xpopen().Rob Landley
2014-09-14Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ...Rob Landley
2014-08-03Implement exec -user, -group, and -newer. Enable find in defconfig.Rob Landley
2014-07-30As long as I had to write xabspath(), no point in wrapping realpath().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-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-26Isaac Dunham suggested xprintf() should call fflush() instead of ferror(), an...Rob Landley
2014-03-29Group headers by standard (POSIX or LSB) or function (internationalization, n...Rob Landley
2014-03-11Move mkpathat to lib, remove redundant function used by patch.Rob Landley
2014-01-16Rename xmsprintf() to just xmprintf().Rob Landley
2013-12-27Pass through all the readfile() arguments from xreadfile().Rob Landley
2013-12-23Fix some issues raised (albeit indirectly) by Isaac Dunham.Rob Landley
2013-11-28Add xgetpwnam() to lib/xwrap.c.Rob Landley
2013-11-28Move xgetpwuid() and xgetgrgid() into xwrap.cRob Landley
2013-11-02Give xstrncpy() a more informative error message.Rob Landley
2013-09-06Fix for xpidfile spotted by Felix Janda.Rob Landley
2013-09-03Introduce libbuf analogous to toybuf but for use by lib/*.c. Change readfile(...Rob Landley
2013-08-30Add scripts/single.sh to build individual non-multiplexed standalone commands.Rob Landley
2013-08-26syslogd: cleanupFelix Janda
2013-08-07Forgot to check in xfdopen(). My bad.Rob Landley
2013-07-19Start of TOYBOX_SINGLE support, for building standalone commands with no mult...Rob Landley
2013-07-17Add timeout, factoring out common code from sleep.Rob Landley
2013-07-16Split lib/xwrap.c from lib/lib.cRob Landley