aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-09Minor cosmetic tweaks to expand.Rob Landley
Working my way through the to-review list that predates the "pending" directory. This gets expand off my to-review list. (Proof that "need to review" doesn't mean it's in bad shape, this command was fine. Changed capitalization in the help text because I'm trying to have "user supplies this value" be all caps, switched a read() to readall() although I'm not sure modern kernels actually allow -EINTR to generate zero length reads anymore, and since most of the loopfiles() target functions are called do_commandname() changed the name to that just so it's regular. None of the changes are actually important. :)
2013-09-09Adjust patch to use dlist_pop()Rob Landley
2013-09-09Redo tail closer to the original design. Add more tests for large data sets. ↵Rob Landley
(Still no -f support yet.)
2013-09-09Fix [-group] argument dropping.Rob Landley
2013-09-03Replace ↵Rob Landley
for_each_pid_with_name_in_array_perform_callback_function_upon_translated_value() with name_to_pid(), comparing absolute paths or just basename() consistently as spotted by Lukasz Skalski, and adjust callers.
2013-09-05Pending cleanup page, less than half done. Some of it should probably move ↵Rob Landley
to the code style section.
2013-09-06Ashwini Sharma submitted route.c, adding it to pending.Rob Landley
2013-09-06Make [-abc] exclude logic clear argument slots when disabling options.Rob Landley
2013-09-06Fix for xpidfile spotted by Felix Janda.Rob Landley
2013-09-06Missing typecast in recent rm fix. Oops.Rob Landley
2013-09-05Allow shipped generated/help.h to still be used, until I rewrite the ↵Rob Landley
generator in C.
2013-08-30make.sh: Fix probing for python2.x and be verbose in error reportingElie De Brauwer
2013-08-30uname: Fix help stringElie De Brauwer
2013-09-05env - there were 2 segfaults when run on my Ubuntu 12.04 machine:Jacek Bukarewicz
- one is because eglibc sets environ to NULL on clearenv(). I added check for environ being not NULL when iterating over environment variables - switched xexec to xexec_optargs because command argument is a pointer to optarg which is freed by xexec.
2013-09-05Make chdir handle permissions according to posix, reported by Jacek Bukarewicz..Rob Landley
2013-09-05fix rm to handle "mkdir sub/sub && chmod 007 sub/sub && rm -rf sub".Rob Landley
Previous version didn't delete it, but exited without error. Neither was right.
2013-09-04Don't pad stat's %a field.Rob Landley
2013-09-04First pass at umount, not quite done yet.Rob Landley
2013-09-03Introduce libbuf analogous to toybuf but for use by lib/*.c. Change ↵Rob Landley
readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL.
2013-09-03Remove itoa/utoa, let libc do this with sprintf.Rob Landley
2013-09-03Convert dhcp/dhcpd from utoa() to sprintf().Rob Landley
2013-09-02Switch ls from utoa to sprintf.Rob Landley
2013-09-02Cleanup pwdxRob Landley
2013-09-02pwdx by Lukasz Skalski.Rob Landley
2013-09-01Implement ls --color=auto, suggested by Rich Felker.Rob Landley
2013-09-01Improve --longopt parsing: general bugfixes, better error reporting, new ; ↵Rob Landley
option for optional arguments only suppliable with =.
2013-09-01Update status and roadmap pages, and status page generator script.Rob Landley
2013-08-31tail: Some fixesFelix Janda
- Rewrite most of the not lseek() logic - Change meaning of len in line_list - Use single instead of double linked list
2013-08-30Allow getmountlist to read fstab too.Rob Landley
2013-08-30Add scripts/single.sh to build individual non-multiplexed standalone commands.Rob Landley
Alas, you can't quite do this yet: make defconfig make for i in $(./toybox) do echo $i PREFIX=singles/ scripts/single.sh $i || break done Because the OLDTOY() aliases for commands won't build without the base command. And I can't just skip them because chown/chmod or mv/cp aren't the same thing.
2013-08-29PID and UID namespaces for unshare, pointed out by heehooman@gmail.com.Rob Landley
2013-08-27Rewrite pmap to be simpler and match other implementation's output more closely.Rob Landley
2013-08-27Add pmap.Ashwini Sharma
2013-08-26syslogd: cleanupFelix Janda
- fix bugs introduced in the cleanups - inline addrfds() and open_unix_socks() and simplify them - use xpidfile() - remove isNetwork from struct logfile - invert the meaning of facility and level in struct logfile so that they are automatically correctly initialized - fix memory leak regarding the filenames of logfiles - TT.sd was unused
2013-08-24syslogd: cleanupFelix Janda
- fix bugs in previous cleanups - remove config from struct logfile - simplify parse_config()
2013-08-23syslogd: stop abusing arg_listFelix Janda
2013-08-23syslogd: cleanupFelix Janda
- simplify resolveconfig() -> now logger_lookup is also used in syslogd.c - inline addrfds - small cosmetical changes in parse_config_file()
2013-08-21syslogd: cleanupFelix Janda
- remove flag macros - remove some unecessary gotos - inline open_udp_socks() and getport() - simplify resulting open_logfiles() Now in the syslog.conf the port numbers for remote hosts are no longer allowed to be hexadecimal. If there is need for hexadecimal port numbers, one can as well accept octal ones and use base 0 in strtoul.
2013-08-21Fix bug where exit code was only correct for -q.Rob Landley
2013-08-21Fix --help option to multiplexer.Rob Landley
2013-08-20syslogd: cleanupFelix Janda
- Remove structure fd_pair so that sigfd can go into GLOBALS - Remove struct typedefs - Inline setup_signal() - Small fix in Usage message
2013-08-20Add watch and ps, sent by Ashwini Sharma.Rob Landley
2013-08-19In logger and syslogd remove duplicated definitions of facilities and prioritiesFelix Janda
In syslogd.c get the definitions from <syslog.h>. For logger.c we can't do this as well since it causes multiply defined symbols. Instead we define a non-static lookup function in syslog.c for logger.
2013-08-19Move grep from pending to posix, switch default to y.Rob Landley
2013-08-19Finish grep rewrite and fleshing out test suite. Several of the grep tests ↵Rob Landley
fail with the ubuntu version, I _think_ these are upstream bugs? (Second opinions welcome...)
2013-08-18Use OPTSTR_command macro for more oldtoys, to avoid keeping two option ↵Rob Landley
strings in sync. (todo: figure out how to make OLDTOY() automatically use macro. Still need the raw version for subset ala cp/mv though.)
2013-08-18Document the toybox entry path from main() into a command.Rob Landley
2013-08-18Fix wrong printf type.Rob Landley
2013-08-18Whitespace changes to passwd.Rob Landley
2013-08-18Fix usage: lines for a couple commands.Rob Landley