aboutsummaryrefslogtreecommitdiff
path: root/procps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change license statements (and clean up headers) on some of the files thatlandley2006-09-224-33/+4
| | | | | | | Erik or I are primary copyright holders on. git-svn-id: svn://busybox.net/trunk/busybox@16175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix copy'n paste errors that got introduced when switching to the shorter ↵aldot2006-09-132-2/+2
| | | | | | | | | boilerplate. No object code changes. git-svn-id: svn://busybox.net/trunk/busybox@16113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Random cleanup hanging around my tree.landley2006-09-121-8/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16108 69ca8d6d-28ef-0310-b511-8ec308f3f277
* top: fixed wrong comment, made error message more clearvda2006-09-091-10/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16084 69ca8d6d-28ef-0310-b511-8ec308f3f277
* using [xa]sprintf for string concatenation is neat and savesvda2006-09-091-4/+3
| | | | | | | | ~100 bytes according to bloatcheck. Also this fixes bug in rpm git-svn-id: svn://busybox.net/trunk/busybox@16081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These should have been part of 15767 too.landley2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-032-30/+8
| | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple things that got tangled up in my tree, easier to check in both thanlandley2006-07-122-50/+29
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make another warning go away.landley2006-06-301-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Top was catching sigterm (and fumbling sigint) so it could reset the terminallandley2006-06-281-5/+2
| | | | | | | | | 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... git-svn-id: svn://busybox.net/trunk/busybox@15540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-029-69/+15
| | | | | | | and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-272-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change llist_add_* to take the address of the list rather than returning the newlandley2006-05-261-6/+1
| | | | | | | head, and change all the callers. git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make it C89 compatible; Declarations in the middle of a function is of coursealdot2006-05-191-3/+4
| | | | | | | | | fine in C99, but it really serves no purpose other than breaking compilation on C89 compilers. Thanks to Rich Felker for pointing this out. git-svn-id: svn://busybox.net/trunk/busybox@15131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵vapier2006-05-131-1/+1
| | | | | | mailing list git-svn-id: svn://busybox.net/trunk/busybox@15079 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fiddling with llist to make memory management easier. Specifically, thelandley2006-05-081-2/+2
| | | | | | | | option to delete the contents of the list when we delete the list is a good thing. git-svn-id: svn://busybox.net/trunk/busybox@15037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many byteslandley2006-05-071-2/+2
| | | | | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. git-svn-id: svn://busybox.net/trunk/busybox@15023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix allbareconfig.landley2006-05-041-11/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14996 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From Denis Vlasenko:landley2006-04-241-223/+177
| | | | | | | | | | | | | | * 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 git-svn-id: svn://busybox.net/trunk/busybox@14940 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jason Schoon writes: Attached is a patch to display the usage message if ↵vapier2006-04-211-0/+3
| | | | | | fuser is called with no arguments, rather than doing no work and failing silently. git-svn-id: svn://busybox.net/trunk/busybox@14938 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove a superfluous quote and more non-generic standalone code.landley2006-04-171-10/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14901 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't havelandley2006-04-131-4/+4
| | | | | | | to do it in Config.in. git-svn-id: svn://busybox.net/trunk/busybox@14850 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xchdir()aldot2006-04-121-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14837 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add and use bb_opendir(), bb_xopendir().aldot2006-04-121-10/+3
| | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@14830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More "extern" removals from Robert P. Daylandley2006-03-141-4/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14541 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert back to r14406aldot2006-03-131-7/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - backout using features which are not available with the previous stablealdot2006-03-091-2/+6
| | | | | | | version of make (3.71.1). git-svn-id: svn://busybox.net/trunk/busybox@14477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-065-5/+5
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use absolute path for top_builddir and top_srcdir.aldot2006-03-021-0/+4
| | | | | | | Fixes make trying to include the very same file in an endless loop. git-svn-id: svn://busybox.net/trunk/busybox@14429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fixes parallel builds (make -j)aldot2006-03-011-12/+2
| | | | | | | - use less resources for the buildsystem itself git-svn-id: svn://busybox.net/trunk/busybox@14407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't build directory libraries unless we're building an applet that needs it.landley2006-02-211-0/+2
| | | | | | | Cherry-picked from Devin Bayer's big MacOS X patch. git-svn-id: svn://busybox.net/trunk/busybox@14165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rfelker writes in Bug 738: sys/sysmacros.h is needed for makedevvapier2006-02-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14133 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add last terminal linevodz2006-02-151-6/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14057 69ca8d6d-28ef-0310-b511-8ec308f3f277
* restore change by Denis Vlasenko: file_to_buf must vary fast, best if inlinevodz2006-02-141-8/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanups from Denis Vlasenko.landley2006-02-131-162/+162
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the build system puuuuuuuuuuurtyvapier2006-02-021-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix up yet more annoying signed/unsigned and mixed type errorsandersen2006-01-302-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed warning "comparison between signed and unsigned".vodz2006-01-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13712 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed warning "comparison between signed and unsigned". Added ↵vodz2006-01-301-7/+7
| | | | | | ATTRIBUTE_UNUSED. My whitespace git-svn-id: svn://busybox.net/trunk/busybox@13711 69ca8d6d-28ef-0310-b511-8ec308f3f277
* close bug 638vodz2006-01-251-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13588 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-254-81/+81
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* compile on 2.96 for a while longer -- no floating declarations.pgf2006-01-201-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13460 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-151-0/+5
| | | | | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something.. git-svn-id: svn://busybox.net/trunk/busybox@13346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jason Schoon writes:vapier2006-01-041-1/+1
| | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@13063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt -> getopt_ulflags. noticed by Rob Sullivanvodz2005-11-291-13/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12581 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Please don't use if(asprintf(&t)<0) free(t); Use concat_subpath_file() for ↵vodz2005-10-281-34/+21
| | | | | | scan dir. Added losed chdir(".."). Removed warnings for 64-bit inode size. Why use memcpy and do not let? Very strange code for me git-svn-id: svn://busybox.net/trunk/busybox@11961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, fuser, from Tony J. White. (Needs some cleanup.)landley2005-10-283-0/+396
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11954 69ca8d6d-28ef-0310-b511-8ec308f3f277
* RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1vodz2005-10-151-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new bb_opt_complementally syntax, use [-:?] only - 'free' charsvodz2005-10-141-1/+1
| | | | | | | - 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 git-svn-id: svn://busybox.net/trunk/busybox@11859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - size reduction of pidofaldot2005-10-071-42/+30
| | | | | | | - fix typo in reverse_pidlist git-svn-id: svn://busybox.net/trunk/busybox@11799 69ca8d6d-28ef-0310-b511-8ec308f3f277