Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-16 | Move create_uuid() to lib and xpoll() to lib/net.c. | Rob Landley | |
2016-01-14 | Implement most of pgrep and pkill. | Rob Landley | |
Needs testing and a few more options connected up. | |||
2015-12-23 | Factor out draw_str() and friends. | Rob Landley | |
2015-12-19 | Redo linestack to handle embedded NULs. | Rob Landley | |
2015-12-19 | Start of vi. | Rob Landley | |
2015-11-08 | Route cleanup: whitespace and curly bracket changes. | Rob Landley | |
2015-11-08 | Bugfix for route flags. | Rob Landley | |
2015-11-08 | Remove TEST_ARGV() and logic to adjust irtt by "clock ticks/100" when clock ↵ | Rob Landley | |
ticks _is_ 100... | |||
2015-11-07 | More route cleanup. | Rob Landley | |
2015-11-07 | Let's start the route cleanup. | Rob Landley | |
Collate some repeated increments, remove some useless coments. | |||
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-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-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-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-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-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-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-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-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-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-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-11 | Replace toys.exithelp with help_exit() in lib. | Rob Landley | |
2015-09-08 | Squish more warnings 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-03 | Implement lsof. | Elliott Hughes | |
This is a superset of the current AOSP lsof (which is itself a superset of the lsof in Android M). It fixes several bugs/misfeatures and adds support for decoding IPv4/IPv6 tcp/udp/raw sockets and Unix domain sockets. | |||
2015-08-20 | I discovered that the reason SIGINT causes a reboot on sysvinit is that | Isaac Dunham | |
it's how the kernel signals that ctrl-alt-delete has been pressed; thus, setting it as the signal for reboot prevents ctrlaltdel scripts from working. SIGTERM is what Busybox uses, so we might as well be compatible. | |||
2015-08-08 | Different tools have different ideas about what human-readable output | Elliott Hughes | |
looks like. dd uses "7 MB" where du uses "7M", for example. this patch adds flags, similar to the BSD humanize_number. most callers will pass 0. | |||
2015-08-08 | Isaac Dunham pointed out that SIGINT's handler was set twice in init.c. | Rob Landley | |
2015-08-08 | modprobe: use -q to silence | Isaac Dunham | |
2015-08-08 | modprobe: use basename_r() | Isaac Dunham | |
2015-08-08 | modprobe: delete perror_exit() that makes no sense | Isaac Dunham | |
Given modprobe -a, it's important to not exit early for a failure to load a module; additionally, the rest of the code presumes that this can fail without exiting. | |||
2015-08-05 | reboot: signal init, add -f option to call reboot(); | Isaac Dunham | |
init: use SIGINT, use xsignal() Now that oneit supports the same signals as our "sysv"-init for shutdown, make reboot et al. signal pid 1 with the appropriate signal. Of these signals, only SIGINT works with sysvinit 2.88, causing a reboot. The others are only supported in Busybox init. Also, make init accept SIGINT and use xsignal(). | |||
2015-08-05 | Tweak xconnect: socket can be a string (ala "ftp") from /etc/services. | Rob Landley | |
Still need a rethink on how to handle socket/bind/connect sequence. |