Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-09 | Various bugfixes (mostly resource leaks) from Ashwini Sharma's static ↵ | Rob Landley | |
analysis, plus occasional tweak by me while reviewing them. | |||
2014-10-09 | Fix use-after-free spotted by Ashwini Sharma's static analysis. | Rob Landley | |
We xstrdup() an optargs string to avoid modifying our environment space (because it can change what "ps" shows to other processes), and then parse out colon delimited strings and save them in globals that can later be used in the -v codepath and so on. But those globals _aren't_ strdup (no point) which means we can't free the string while we're still using pointers into the middle of it. So move the free to the end. (I hardly ever test with CFG_TOYBOX_FREE switched on because even nommu doesn't need it.) | |||
2014-10-01 | Bugfix from Ashwini Sharma: Z timezone required by posix for touch but not ↵ | Rob Landley | |
for libc, so we have to implement it here. | |||
2014-09-28 | Updated version, having complete support for ip _link_, _addr_, _rule_, ↵ | Ashwini Sharma | |
_route_ and _tunnel_ options. | |||
2014-09-28 | Fix two mount bugs: 1) Don't skip a filesystem type when setting up loopback ↵ | Rob Landley | |
mount, 2) Don't stop checking filesystem types due to EBUSY, it may mean already mounted by another filesystem type you haven't tried yet. | |||
2014-09-28 | mount: terminate list so unknown user mount attempts don't endlessly loop, ↵ | Rob Landley | |
add better error reporting. | |||
2014-09-27 | Cleanup pass on groupdel. | Rob Landley | |
2014-09-27 | Untangle id/groups/logname so single.sh can build each one standalone. | Rob Landley | |
2014-09-26 | The only illegal characters in a username are ":" (field separator), "\n" ↵ | Rob Landley | |
(line separator), and "/" (filename separator). Restricting usernames to the legacy posix character allowed set (for filenames, so the $HOME directory is creatable on VFAT and similar) means you can't have UTF-8 usernames. Linux allows any character but / and NUL in filenames. Since root is creating these entries, we assume root knows what it's doing. | |||
2014-09-26 | Separate more commands so single.sh can build them standalone. | Rob Landley | |
2014-09-22 | When killall was invoked without arguments, there appeared segmentation fault | ?ukasz Szpakowski | |
2014-09-21 | Start on ping.c. | Rob Landley | |
2014-09-18 | Reorder functions to get rid of unnecessary prototypes, and move a global ↵ | Rob Landley | |
into GLOBALS. | |||
2014-09-18 | rm -rf needs to chmod directories to u+rwx, because directories need +x to ↵ | Isaac Dunham | |
search. (Fixes messages about not being able to delete directories when running make test). | |||
2014-09-18 | A few fixes for issues reported in static analysis. | Ashwini Sharma | |
2014-09-17 | Cleanup pass on README. | Rob Landley | |
Other versions are adding Cached from /proc/meminfo to free buffers/cache (and subtracting it from used), but sysinfo() doesn't provide it. (But it provide "high memory", which hasn't been relevant for almost a decade...) But that's a design change, not a cleanup issue. | |||
2014-09-17 | Update README for pending directory, include list of code outside of pending ↵ | Rob Landley | |
(grandfathered) awaiting cleanup. | |||
2014-09-17 | Minor cleanup pass on touch. | Rob Landley | |
2014-09-17 | Cleanup pass on cut, more to do. | Rob Landley | |
Cut predates the "pending" directory, so was checked in as-is. Ashwini Sharma's recent static analysis fixes touched this file, but there's a lot more to do than the static analyzer found. | |||
2014-09-16 | Cleanup pass on useradd. | Rob Landley | |
2014-09-14 | Add cpio -p | Rob Landley | |
2014-09-14 | find -xdev should return mount points, just not contents. | Rob Landley | |
2014-09-14 | Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ↵ | Rob Landley | |
we want to redirect both, one, or neither of stdin/stdout. | |||
2014-09-13 | Bug report from luckboy: rm -f on a broken symlink didn't work because our ↵ | Rob Landley | |
"does it exist" test (to avoid errors on rm -f of nonexistent files) said it didn't. The fix: replace the access() with unlink(), which produces the same "does not exist" errno and has the added bonus of acting as a fastpath for rm -f on non-directories. (And since it produces a different error on directories, falls through to the old behavior there.) Most of this commit is comment updates explaining being subtle. :) | |||
2014-09-09 | Ignore -m option to cpio, it's what we do anyway so it's not an error. | Rob Landley | |
2014-09-08 | Fix more memory leaks reported by Ashwini Sharma. | Rob Landley | |
2014-09-08 | Don't close device handle until after calling flush ioctls, reported by ↵ | Rob Landley | |
Ashwini Sharma. | |||
2014-09-08 | Add error test and fix memory leak, reported by Ashwini Sharma. | Rob Landley | |
2014-09-07 | Promote mount. It's not perfect, but it basically works now. | Rob Landley | |
2014-09-07 | Fix mount --move bug. | Rob Landley | |
2014-09-07 | Debugging pass on mount. Not quite done yet, but the basics seem to work now. | Rob Landley | |
2014-09-01 | Add cp -F to force delete of existing destination files, and make install ↵ | Rob Landley | |
command use that. -F is equivalent to the gnu/dammit flag --we-think-long-options-without-short-options-are-a-good-idea | |||
2014-08-31 | Next mount checkpoint. | Rob Landley | |
Testing level: It compiled. If any portion of this works, I'll be amazed. Still a bunch of todo items (see giant TODO block after globals) | |||
2014-08-25 | ipcs : display all the IPC fascilities information | Ashwini Sharma | |
crond : CRON scheduler | |||
2014-08-24 | Work in progress snapshot of mount, with fallout to umount. (Not done yet.) | Rob Landley | |
2014-08-23 | Promote blockdev to other. | Rob Landley | |
2014-08-23 | Cleanup blockdev. | Rob Landley | |
2014-08-22 | getty needs fd 0 to stay open. | Isaac Dunham | |
The O_CLOEXEC reversal resulted in login failing. | |||
2014-08-20 | Promote inotifyd to other. | Rob Landley | |
2014-08-20 | Minor help text tweak for inotifyd. | Rob Landley | |
2014-08-20 | Cleanup inotifyd. | Rob Landley | |
2014-08-18 | Cleanups on useradd/groupadd/groupdel, and put TOYBOX_UID_SYS and ↵ | Rob Landley | |
TOYBOX_UID_USR in the top level Config. | |||
2014-08-16 | Add install to cp/mv. | Rob Landley | |
2014-08-12 | A toy _BLOCKDEV_ to get/set block device properties. | Ashwini Sharma | |
2014-08-12 | Patches to commands for issues reported from static analysis tool. | Ashwini Sharma | |
portability.h.patch - it is for O_CLOEXEC, as compiler complained of it. Makefile.patch - for cleaning generated/*.o files and libopts.dat file [Fixup to uniq.c from Rob.] | |||
2014-08-11 | Promote lspci. | Rob Landley | |
2014-08-11 | Cleanup pass on lspci. | Rob Landley | |
2014-08-09 | Disable xopen's default O_CLOEXEC for oneit. | Rob Landley | |
2014-08-07 | Fix -mindepth and -maxdepth to not drill down into excluded directories. | Rob Landley | |
The fact other implementations don't implement "! -mindepth" doesn't mean we can't. Also, find uses +N, N, -N for everything else but this extension doesn't. Also, -depth already had a definition and this has nothing to do with that. It's a poorly thought-out extension, is what I'm saying. | |||
2014-08-05 | More find bugfixes. | Rob Landley | |