Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ps: fix -Z (by Yuichi Nakamura <ynakam@hitachisoft.jp>) | Denis Vlasenko | 2007-06-06 | 1 | -28/+45 |
| | |||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 9 | -9/+9 |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | ||||
* | kill: improve comment | Denis Vlasenko | 2007-05-06 | 1 | -1/+2 |
| | |||||
* | kill: fix recent breakage of vda, also make code smaller by 21 bytes. | Denis Vlasenko | 2007-05-06 | 1 | -5/+12 |
| | |||||
* | test: code size saving, no logic changes | Denis Vlasenko | 2007-05-01 | 2 | -7/+12 |
| | | | | | | | | | | | | | | | ps: fix warning, make a bit smaller kill -l: make smaller & know much more signals function old new delta get_signum 121 153 +32 kill_main 826 843 +17 get_signame 44 36 -8 signals 252 224 -28 .rodata 131955 131923 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/3 up/down: 49/-68) Total: -19 bytes | ||||
* | ash,kill: use common code for kill applet/builtin | Denis Vlasenko | 2007-04-29 | 2 | -38/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | # make bloatcheck function old new delta evaltreenr 644 654 +10 evaltree 644 654 +10 parse_conf 1440 1444 +4 dpkg_deb_main 426 429 +3 ed_main 3319 3321 +2 passwd_main 2093 2091 -2 kill_main 830 826 -4 singlemount 4609 4601 -8 find_command 962 954 -8 get_lcm 123 105 -18 .rodata 132243 132147 -96 killcmd 449 120 -329 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/7 up/down: 29/-465) Total: -436 bytes # size busybox_old busybox_unstripped text data bss dec hex filename 723901 2940 27504 754345 b82a9 busybox_old 723457 2940 27504 753901 b80ed busybox_unstripped | ||||
* | procps: remove all global variables | Denis Vlasenko | 2007-04-19 | 2 | -41/+72 |
| | | | | | | | | text data bss dec hex filename 1462 14 24 1500 5dc busybox.t2/procps/ps.o 1484 0 0 1484 5cc busybox.t3/procps/ps.o 3122 0 252 3374 d2e busybox.t1/procps/top.o 3117 0 0 3117 c2d busybox.t3/procps/top.o | ||||
* | ps: add -o tty and -o rss support | Denis Vlasenko | 2007-04-19 | 1 | -34/+45 |
| | | | | | 1373 14 24 1411 583 busybox.t1/procps/ps.o 1462 14 24 1500 5dc busybox.t2/procps/ps.o | ||||
* | style fixes, no code changes | Denis Vlasenko | 2007-04-16 | 1 | -1/+2 |
| | |||||
* | style fixes. No code changes | Denis Vlasenko | 2007-04-12 | 2 | -4/+6 |
| | |||||
* | bb_full_fd_action: remove potential xmalloc from NOFORK path | Denis Vlasenko | 2007-04-11 | 2 | -100/+120 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes | ||||
* | getopt32: fix llist_t options ordering. llist_rev is not unused. | Denis Vlasenko | 2007-04-08 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes | ||||
* | ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer) | Denis Vlasenko | 2007-03-28 | 1 | -1/+3 |
| | |||||
* | random style fixes (extra spaces deleted) | Denis Vlasenko | 2007-03-24 | 1 | -4/+3 |
| | |||||
* | - change option -c to -Z to match newer upstream SElinux conventions | Bernhard Reutner-Fischer | 2007-03-14 | 1 | -2/+2 |
| | |||||
* | sort: fix multiple -k (was ignoring all except last) | Denis Vlasenko | 2007-02-17 | 1 | -1/+1 |
| | |||||
* | make sure ps/top output what they claim: vsz, not rss ... down the line we ↵ | Mike Frysinger | 2007-02-08 | 2 | -29/+29 |
| | | | | should make the output controllable either at runtime or buildtime as both statistics are quite useful | ||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 9 | -0/+10 |
| | | | | no preceding prototype | ||||
* | fix warning from needlessly-global functions | Denis Vlasenko | 2007-01-22 | 1 | -7/+7 |
| | |||||
* | whitespace fixes (leading spaces to tab) | Denis Vlasenko | 2007-01-13 | 1 | -1/+1 |
| | |||||
* | Trailing whitespace removal over entire tree | Denis Vlasenko | 2007-01-11 | 2 | -2/+2 |
| | |||||
* | done a dozen of randconfig test. guess what? ALL failed... | Denis Vlasenko | 2006-12-30 | 1 | -1/+4 |
| | | | | these are resulting fixes | ||||
* | style fixes | Denis Vlasenko | 2006-12-26 | 1 | -2/+2 |
| | | | | last xcalloc replaced by xzalloc | ||||
* | fix recognitions of -SIGname signals | Denis Vlasenko | 2006-12-23 | 1 | -1/+2 |
| | | | | (fix by Jacques LUDER <jacques.luder@thalesgroup.com>) | ||||
* | ps: fix buglet, add microoptimization | Denis Vlasenko | 2006-12-18 | 1 | -6/+4 |
| | |||||
* | safe_strtoXX interface proved to be a bit unconvenient. | Denis Vlasenko | 2006-11-27 | 1 | -1/+2 |
| | | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. | ||||
* | rodata cleanup. "unable to" == "cannot". -300 bytes | Denis Vlasenko | 2006-11-18 | 1 | -1/+1 |
| | |||||
* | add -Wundef, fix uncovered bugs | Denis Vlasenko | 2006-11-17 | 1 | -15/+11 |
| | |||||
* | ps: add documentation on POSIX ps | Denis Vlasenko | 2006-11-05 | 2 | -1/+176 |
| | |||||
* | ps: implement POSIX-like options, most notably -o | Denis Vlasenko | 2006-11-05 | 1 | -0/+275 |
| | | | | (activated by CONFIG_DESKTOP) | ||||
* | replace /proc scanning code by more versatile one. | Denis Vlasenko | 2006-11-05 | 3 | -63/+115 |
| | | | | | | | Use it where appropriate. Stop scanning /etc/passwd *for every process*!!! (uid->username) top: reduce memory usage - we won't save unneeded fields from /proc info anymore. Downside: ~+250 bytes of code | ||||
* | top: improve CPU% calculation | Denis Vlasenko | 2006-11-05 | 3 | -50/+54 |
| | | | | style fixes | ||||
* | Unneeded code removed, usused field "unsigned pscpu" removed | Denis Vlasenko | 2006-11-01 | 2 | -5/+6 |
| | |||||
* | mostly style fixes | Denis Vlasenko | 2006-11-01 | 1 | -2/+1 |
| | |||||
* | pidof: reduce #ifdef forest | Denis Vlasenko | 2006-11-01 | 1 | -39/+19 |
| | |||||
* | PID should be stored in pid_t, not int or long. | Denis Vlasenko | 2006-11-01 | 4 | -39/+44 |
| | | | | | find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead. | ||||
* | ps: reduce #ifdef forest | Denis Vlasenko | 2006-11-01 | 1 | -25/+13 |
| | |||||
* | top: batch mode should output all processes | Denis Vlasenko | 2006-10-27 | 1 | -8/+4 |
| | |||||
* | get_terminal_width_height: do not pass insanely large values | Denis Vlasenko | 2006-10-27 | 1 | -7/+7 |
| | |||||
* | silly size savings and capitalization fixes | Denis Vlasenko | 2006-10-26 | 1 | -1/+1 |
| | |||||
* | add open_read_close() and similar stuff | Denis Vlasenko | 2006-10-14 | 2 | -3/+3 |
| | |||||
* | start_stop_daemon: add -N <nice> compat | Denis Vlasenko | 2006-10-08 | 1 | -31/+24 |
| | | | | | [re]nice: add support for -nNNN w/o spaces, -NNN (nice only), simplified code | ||||
* | attempt to regularize atoi mess. | Denis Vlasenko | 2006-10-08 | 4 | -21/+19 |
| | |||||
* | dnsd fix; option_mask32 added. dnsd needs more love. | Denis Vlasenko | 2006-10-06 | 1 | -6/+5 |
| | |||||
* | build system overhaul | Denis Vlasenko | 2006-10-05 | 4 | -81/+37 |
| | |||||
* | bb_applet_name -> applet_name | Denis Vlasenko | 2006-10-03 | 1 | -4/+4 |
| | |||||
* | getopt_ulflags -> getopt32. | Denis Vlasenko | 2006-10-03 | 3 | -8/+8 |
| | | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. | ||||
* | top: add support for -b, -n <iterations> | Denis Vlasenko | 2006-09-29 | 2 | -21/+30 |
| | |||||
* | kill: implement killall5. OpenWRT folks will be happy. | Denis Vlasenko | 2006-09-27 | 2 | -28/+53 |
| | | | | | However their code was unusably different from sysvinit original. Run tested. | ||||
* | kill: fix bugs (kill -l output was horrible), fix style, constify data | Denis Vlasenko | 2006-09-27 | 1 | -55/+56 |
| |