Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-03 | dhcp leanup: remove flag_get() and flag_chk() | Rob Landley | |
2015-11-03 | New dhcp6 command from Sameer Pradhan. | Rob Landley | |
2015-11-03 | Version 0.6.10.6.1 | Rob Landley | |
2015-11-03 | Whitespace and parentheses. | Rob Landley | |
2015-11-02 | Explain signals in oneit help text. | Rob Landley | |
2015-11-02 | Don't pass target $CFLAGS to host builds (telling x86 compiler to be big-endian | Rob Landley | |
seldom ends well). Instead add -DBUILD_FOR_HOST to $HOSTCC and wrap #ifdefs around problematic (smack) includes from toys.h. | |||
2015-11-02 | Add -P as short option for --ppid. | Rob Landley | |
(The help infrastructure can collate and alphebetize short options, long options haven't got a standardized help text format. Not a hard requirement to have a short opt, but it's nice.) | |||
2015-11-02 | Fix the ps -o CMD vs COMM distinction. | Elliott Hughes | |
"comm" is the command name without arguments, and "cmd" the command line including arguments. Confusingly, "command" is a synonym for the *latter*, not the former. This implementation of "comm" matches the GNU ps behavior where the names are truncated, but Android historically used the full name from /proc/pid/cmdline instead, so this patch isn't sufficient to let us match the Android behavior. | |||
2015-11-02 | Make ps -o error reporting intelligible. | Elliott Hughes | |
I actually thought ps was segfaulting, and it wasn't until I was in gdb that I even noticed there was an error message at all, and even then I had to read the source to work out what it was trying to tell me. Before: $ ps -o user,pid,ppid,vsize,rss,nice,wchan,addr,unknown,stat,cmd ps: -o 'user,pid,ppid,vsize,rss,nice,wchan,addr,unknown,stat,cmd'@41 USER PID PPID VSZ RSS NI WCHAN ADDR$ After: $ ps -o user,pid,ppid,vsize,rss,nice,wchan,addr,unknown,stat,cmd ps: bad -o field 'user,pid,ppid,vsize,rss,nice,wchan,addr,unknown,stat,cmd' ^ | |||
2015-11-02 | If chomp() needs to test it found \n, should also test it's at end of string. | Rob Landley | |
2015-11-02 | Add ps -Z. | Elliott Hughes | |
As with ls, it doesn't seem like -Z should be guarded behind LSM availability. On a non-SELinux system, the label is always "unconfined". | |||
2015-11-02 | Add ps --ppid. | Elliott Hughes | |
Used by Android. | |||
2015-11-01 | Last patch broke creating new file as a patch, fix it. | Rob Landley | |
(Matches beginning and EOF at once.) | |||
2015-11-01 | Fix applying patch hunks with trailing context to the start of the file. | Rob Landley | |
2015-11-01 | Change grep -w to checking matches after the fact rather than modifing regex. | Rob Landley | |
This lets '(x)\1' match, as reported by Isabella Parakiss. | |||
2015-10-30 | Now that toybox is chmod -w, mv needs -f to overwrite it. | Rob Landley | |
2015-10-29 | Tweak permissions of toybox binary. | Rob Landley | |
2015-10-29 | Update Android section of roadmap. | Elliott Hughes | |
Change-Id: I5a0f49b17bc5866689608e73af94b31744fd3dc9 | |||
2015-10-29 | Note Debian abandoning LSB and our own decision not to worry about LSB 5.0 yet. | Rob Landley | |
2015-10-29 | Fix sed bug reported by Isabella Parakiss, where sed -e "/x/c\" -e "y" added | Rob Landley | |
an extra newline because the test for whether we have an existing string to append a newline to was checking if struct step had data appended to it, and the /x/ regex is data appended to it. Change test to check for null terminator at ->arg1 offset. | |||
2015-10-28 | Oops, forgot to check in the header file change for ps.c. | Rob Landley | |
2015-10-28 | Promote ps to posix. | Rob Landley | |
2015-10-28 | Free more stuff in debug cleanup. | Rob Landley | |
Tempted to convert the struct arg_list and ptr_len stuff to arrays and make the parsing table driven, but there's enough direct usages of each field it's not a net win. | |||
2015-10-28 | Implement -suUgG and -o majfl,minfl, move uid/ruid/gid/rgid into slots[31-34] | Rob Landley | |
and vmlck into slot[18], pass error message to comma_args(), collate -stuUgG callbacks into parse_rest(). | |||
2015-10-28 | Tweak build instructions in README/code.html. | Rob Landley | |
2015-10-27 | Use the /proc/self/fd/%d workaround for O_PATH not letting you read xattrs, | Rob Landley | |
inspired by: https://android-review.googlesource.com/#/c/152663/4/libc/bionic/fgetxattr.cpp | |||
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 | |