Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-27 | Fix ls error message for chmod -r directories. | Rob Landley | |
Also, if you mkdir "$(echo -e "one\ntwo"); chmod -r one*; ls -q one* it honors -q. | |||
2015-10-27 | Install without a mode should use 0755, and check FLAG_preserve instead of | Rob Landley | |
the global so "install -g 0" doesn't alias to "cp --preserve 0" and error out. through to --preserve 0" | |||
2015-10-27 | Replace xcount_cpus() with a call to sysconf(_SC_NPROCESSORS_CONF) | Rob Landley | |
2015-10-25 | Add xcount_cpus() | Rob Landley | |
2015-10-25 | Add comma_args() and factor out parse_o(), parse_t(), and parse_p() to use it. | Rob Landley | |
Fix FLAG_w. | |||
2015-10-25 | Factor out parse_o() and make -l -f and default output work on strings | Rob Landley | |
rather than bitfields. | |||
2015-10-25 | More ps work, and fill out remaining help text. | Rob Landley | |
Fix more l/r justification, implement uname vsz vsize and stat. | |||
2015-10-25 | Fix netstat build warnings. | Elliott Hughes | |
Fixes two instances of "warning: use of logical '&&' with constant operand". Change-Id: I2bb1ba4e389f8a9e54af8ee3ab23d8849fc329f0 | |||
2015-10-23 | More ps work: move l/r justification to widths[], add RUID/RGID, implement PGID, | Rob Landley | |
plus tty detection fix from Elliott Hughes. | |||
2015-10-23 | fix dhcpd warning | Yeongdeok Suh | |
2015-10-22 | Auto-size df columns. | Elliott Hughes | |
On Android, the filesystem column is pretty wide. Actually measure the widths. | |||
2015-10-21 | Make ps.c whitespace consistent. | Rob Landley | |
(Assignment has spaces around operator, comparison doesn't.) | |||
2015-10-21 | ps: implement -t, remove leading 0 from ETIME days, implement -o GROUP,GID,PCPU | Rob Landley | |
2015-10-20 | Move d/h units from %d %D output to default format string. | Rob Landley | |
2015-10-17 | More ps work, tested up through etime now. | Rob Landley | |
2015-10-16 | Fix ps display padding (truncation) and adjust -o pri by one. | Rob Landley | |
2015-10-15 | More ps work, implement -p, correct several -o fields and general alignment. | Rob Landley | |
2015-10-14 | make.sh: missing cflags for config2help | Alejandro Joya | |
config2help might require extra parameters to be passed to the compiler. For example it might need an additional header path. | |||
2015-10-11 | Cleanup pass on pgrep: remove flag_twiddle macros, use 0 constants, | Rob Landley | |
unify some TT.signame tests checking constant value variable initialized to. | |||
2015-10-10 | "stat -c %T" support (filesystem type names) based on patch from Hyejin Kim. | Rob Landley | |
2015-10-06 | Decode netlink sockets in lsof. | Elliott Hughes | |
Refactor the /proc/net parsing so this only adds 7 lines overall. Also clear the DEVICE field for sockets and fix alignment for long usernames (until someone implements the two-pass output that measures columns). | |||
2015-10-06 | New command: flock. | Elliott Hughes | |
The brillo folks wanted this in a shell script they're porting over (so I've only implemented the fd style they wanted, not the named file style). | |||
2015-10-05 | Fix bug in od that screwed up position indicator on arm and mips. | Rob Landley | |
2015-10-05 | Fix allnoconfig. (Exporting HOSTCC before HOSTCC?=cc caused a problem.) | Rob Landley | |
2015-10-04 | Export makefile variables so you can say "make CROSS_COMPILE=blah-" as well ↵ | Rob Landley | |
as "CROSS_COMPILE=blah- make". | |||
2015-10-04 | Minor cleanup and add "MODALIAS" handler (suggested by Isaac Dunham). | Rob Landley | |
2015-10-03 | Back to chipping away at ps... | Rob Landley | |
2015-10-02 | Add uClinux analysis to roadmap, and a few other pending changes. | Rob Landley | |
2015-09-29 | help_exit() tweak. | Rob Landley | |
2015-09-29 | xvfork went away. | Rob Landley | |
2015-09-29 | Make defconfig build for nommu. | Rob Landley | |
Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL argv (and converts cpio -p to use that), adds TOYBOX_FORK guards to some unconverted commands. | |||
2015-09-27 | Another chunk of nommu support, replacing toys.recursion with toys.stacktop. | Rob Landley | |
2015-09-23 | xexec() is noreturn. | Rob Landley | |
2015-09-23 | Add xvfork() as a static inline and use it from various places. | Rob Landley | |
Note: vfork(), like fork(), can return -1 if too many processes, and we should notice and fail loudly. | |||
2015-09-23 | The -o /dev/null trick in probing isn't compatible with elf2flt, so use ↵ | Rob Landley | |
tempfile. | |||
2015-09-17 | Fix a couple things gcc is too dumb to figure out on its own. | Rob Landley | |
2015-09-14 | Add find tests. | Daniel K. Levy | |
2015-09-12 | Fix a find segfault. | Rob Landley | |
Elliott Hughes found a bug https://android-review.googlesource.com/#/c/170020/ and Daniel K. Levy worked out the problem: the user/group/newer arguments to find weren't consuming their arguments when not checking the results of their comparison (because an earlier test had already caused their parenthetical group to fail). This confused the argument parsing logic and could lead to segfaults. I applied a different fix that reorganized the existing tests instead of adding a new test. (Looks like a big commit but it's mostly whitespace due to extra curly brackets changing indendentation levels.) | |||
2015-09-11 | Replace toys.exithelp with help_exit() in lib. | Rob Landley | |
2015-09-08 | Squish more warnings in pending. | Rob Landley | |
2015-09-08 | Squish a warning in pending. | Rob Landley | |
2015-09-08 | Fix netstat -e. | Elliott Hughes | |
The -e flag should add "user" and "inode" columns to the TCP output. Also truncate IP addresses in non-wide (no -W) mode. This also removes a bit more of the duplication, though there's still plenty left in this file! | |||
2015-09-08 | i already did -l and -t, the positive side of -p, plus name filtering... | Elliott Hughes | |
2015-09-08 | Fix netstat -p. | Elliott Hughes | |
netstat -p was failing for any cmdline longer than 21 characters. (A typical Chrome render process has about half a kilobyte of cmdline.) There's still a lot of cleanup to be done later, but this is enough to fix -p and remove a fair amount of unnecessary custom code into the bargain. | |||
2015-09-08 | increase the size of progname to avoid buffer overflow | Lipi Lee | |
2015-09-07 | Remove prompt argument from yesno(), caller can fprintf(stderr, "blah") itself. | Rob Landley | |
This fixes the build break, the change to yesno() prototype accidentally got checked in last commit. (Oops, sorry.) | |||
2015-09-06 | Switch HR_SI to HR_1000, make binary the default, make HR_B only affect bytes, | Rob Landley | |
and update the tests. | |||
2015-09-05 | Two large thinkos in oneit: -3 was always enabled and signal numbers were | Rob Landley | |
overwritten before we set up signal handlers. | |||
2015-09-05 | Add seq -f tests, tweak help text, and catch one more error case. | Rob Landley | |
2015-09-05 | ls -h support. | Elliott Hughes | |
It turns out that people are anticipating the switch to toybox ls from toolbox ls on the assumption that this will finally bring -h support. Let's not disappoint. I've merged two existing buffers in listfiles whose uses didn't overlap into one. It may be possible to cram this into toybuf with the other stuff, but it didn't seem worth the extra complexity for 64B of stack, especially since we were already living with that for time formatting anyway. |