summaryrefslogtreecommitdiffhomepage
path: root/procps
AgeCommit message (Collapse)Author
2006-08-03These should have been part of 15767 too.Rob Landley
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-12A couple things that got tangled up in my tree, easier to check in both thanRob Landley
untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
2006-06-30Make another warning go away.Rob Landley
2006-06-28Top was catching sigterm (and fumbling sigint) so it could reset the terminalRob Landley
type on the way out, but the signal handler didn't exit. Plus it did unnecessary things with sigaction. This code is overgrown and needs a serious weed-whacking...
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-05-19- make it C89 compatible; Declarations in the middle of a function is of courseBernhard Reutner-Fischer
fine in C99, but it really serves no purpose other than breaking compilation on C89 compilers. Thanks to Rich Felker for pointing this out.
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-08Fiddling with llist to make memory management easier. Specifically, theRob Landley
option to delete the contents of the list when we delete the list is a good thing.
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-05-04Fix allbareconfig.Rob Landley
2006-04-24From Denis Vlasenko:Rob Landley
* CPU% = process[i].ticks/sum(process[i].ticks) * busy_cpu_ticks/total_cpu_ticks * got rid of empty line under "Load average" line   and used last line - +2 visible processes * do not do float conversion of loadavg, just read it as string from /proc * fix display on small screens * dropped unused .stime, .utime fields * a few variables were renamed * style fixes
2006-04-21Jason Schoon writes: Attached is a patch to display the usage message if ↵Mike Frysinger
fuser is called with no arguments, rather than doing no work and failing silently.
2006-04-17Remove a superfluous quote and more non-generic standalone code.Rob Landley
2006-04-13Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley
to do it in Config.in.
2006-04-12- patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer
2006-04-12- add and use bb_opendir(), bb_xopendir().Bernhard Reutner-Fischer
text data bss dec hex filename 889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig 889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2 889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig 888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1
2006-03-14More "extern" removals from Robert P. DayRob Landley
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-02- use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer
Fixes make trying to include the very same file in an endless loop.
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-21Don't build directory libraries unless we're building an applet that needs it.Rob Landley
Cherry-picked from Devin Bayer's big MacOS X patch.
2006-02-19rfelker writes in Bug 738: sys/sysmacros.h is needed for makedevMike Frysinger
2006-02-15add last terminal line"Vladimir N. Oleynik"
2006-02-14restore change by Denis Vlasenko: file_to_buf must vary fast, best if inline"Vladimir N. Oleynik"
2006-02-13Cleanups from Denis Vlasenko.Rob Landley
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-01-30fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-30removed warning "comparison between signed and unsigned"."Vladimir N. Oleynik"
2006-01-30removed warning "comparison between signed and unsigned". Added ↵"Vladimir N. Oleynik"
ATTRIBUTE_UNUSED. My whitespace
2006-01-25close bug 638"Vladimir N. Oleynik"
2006-01-25just whitespaceTim Riker
2006-01-20compile on 2.96 for a while longer -- no floating declarations.Paul Fox
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2006-01-04Jason Schoon writes:Mike Frysinger
Here is a patch for kill that I posted long ago, but forgot about until today. This allows kill to specify a negative process/group (such as -1). The shell already had this fix applied by Vodz some time ago.
2005-11-29getopt -> getopt_ulflags. noticed by Rob Sullivan"Vladimir N. Oleynik"
2005-10-28Please don't use if(asprintf(&t)<0) free(t); Use concat_subpath_file() for ↵"Vladimir N. Oleynik"
scan dir. Added losed chdir(".."). Removed warnings for 64-bit inode size. Why use memcpy and do not let? Very strange code for me
2005-10-28New applet, fuser, from Tony J. White. (Needs some cleanup.)Rob Landley
2005-10-15RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1"Vladimir N. Oleynik"
2005-10-14- new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"
- new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet
2005-10-07- size reduction of pidofBernhard Reutner-Fischer
- fix typo in reverse_pidlist
2005-10-06- pidof(8): make -s optional and optional -o; closes #168Bernhard Reutner-Fischer
first cut.
2005-10-05update bb_getopt_ulflags special for 'ps' applet, usaging '-' as first group ↵"Vladimir N. Oleynik"
char from bb_opt_complementally is new feature: set argv is options; use new bb_getopt_ulflags for ps # define terminal_width 80->79 for unwide use stdout file descriptor for get_terminal_width_height. (its must)
2005-10-04ps selinux logic correction, but do not tested too"Vladimir N. Oleynik"
2005-10-04use updated bb_getopt_ulflags() for ps applet"Vladimir N. Oleynik"
2005-10-04- add option 'w' to ps (wide output, optional feature defaults to off).Bernhard Reutner-Fischer
- move to ENABLE_ and use shorter boilerplate. sizes without selinux-support: text data bss dec hex filename 356 0 0 356 164 procps/ps.o.with-w 300 0 0 300 12c procps/ps.o.no-w 302 0 0 302 12e procps/ps.o.oorig