summaryrefslogtreecommitdiff
path: root/libbb/procps.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* decuddle () from for/if/whileMike Frysinger2006-07-121-14/+14
|
* Fix http://bugs.busybox.net/view.php?id=906 which could cause failures in top.Rob Landley2006-06-271-1/+2
|
* comment all fieldsMike Frysinger2006-06-071-4/+4
|
* add reference to proc(5)Mike Frysinger2006-06-071-0/+1
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-10/+1
| | | | - use shorter boilerplate while at it
* Portability tweak from Shaun Jackman, don't include asm/page.h directly.Rob Landley2006-04-251-1/+1
|
* - add and use bb_opendir(), bb_xopendir().Bernhard Reutner-Fischer2006-04-121-3/+1
| | | | | | | | 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
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* cleanups after changes by Denis Vlasenko. Size optimization"Vladimir N. Oleynik"2006-02-141-6/+9
|
* Cleanups from Denis Vlasenko.Rob Landley2006-02-131-14/+23
|
* - rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer2005-09-201-1/+1
| | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug
* ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE"Vladimir N. Oleynik"2005-09-161-3/+3
|
* FEATURE->ENABLE_FEATURE loses one for 'top' applet"Vladimir N. Oleynik"2005-09-141-3/+3
|
* A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley2005-05-031-13/+2
|
* Tito writes:Eric Andersen2004-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, I've spent the half night staring at the devilish my_getpwuid and my_getgrgid functions trying to find out a way to avoid actual and future potential buffer overflow problems without breaking existing code. Finally I've found a not intrusive way to do this that surely doesn't break existing code and fixes a couple of problems too. The attached patch: 1) changes the behaviour of my_getpwuid and my_getgrgid to avoid potetntial buffer overflows 2) fixes all occurences of this function calls in tar.c , id.c , ls.c, whoami.c, logger.c, libbb.h. 3) The behaviour of tar, ls and logger is unchanged. 4) The behavior of ps with somewhat longer usernames messing up output is fixed. 5) The only bigger change was the increasing of size of the buffers in id.c to avoid false negatives (unknown user: xxxxxx) with usernames longer than 8 chars. The value i used ( 32 chars ) was taken from the tar header ( see gname and uname). Maybe this buffers can be reduced a bit ( to 16 or whatever ), this is up to you. 6) The increase of size of the binary is not so dramatic: size busybox text data bss dec hex filename 239568 2300 36816 278684 4409c busybox size busybox_fixed text data bss dec hex filename 239616 2300 36816 278732 440cc busybox 7) The behaviour of whoami changed: actually it prints out an username cut down to the size of the buffer. This could be fixed by increasing the size of the buffer as in id.c or avoid the use of my_getpwuid and use getpwuid directly instead. Maybe this colud be also remain unchanged...... Please apply if you think it is ok to do so. The diff applies on today's cvs tarball (2004-08-25). Thanks in advance, Ciao, Tito
* Teach busybox ps to get the correct uid when displaying stuffEric Andersen2004-01-271-3/+5
|
* Patch from Atsushi Nemoto, recent MIPS kernel headersGlenn L McGrath2004-01-211-0/+4
| | | | | does not provide PAGE_SHIFT for userland (because now mips-linux kernel supports PAGESIZE other than 4K).
* bother. It seems I can't read.Eric Andersen2003-12-201-4/+0
|
* doh!Eric Andersen2003-12-201-1/+1
|
* Try to accomodate systems that do not define PAGE_SHIFTEric Andersen2003-12-201-0/+4
|
* Patch from Russell Coker:Eric Andersen2003-07-031-1/+13
| | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
* Skip printing "/proc/%d/cmdline" stuff when it is not relevantEric Andersen2003-05-261-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-1/+1
|
* Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm notEric Andersen2002-12-051-3/+0
| | | | | maintaining it anymore, and it is now terribly out of date. -Erik
* last_patch_69, 8 bit clean and other fixes from Vladimir N. OleynikGlenn L McGrath2002-12-021-1/+1
|
* Handle name entries that have a \0 in them, last_patch_65 from Vladimir N. ↵Glenn L McGrath2002-11-251-4/+11
| | | | Oleynik
* include libbb after stdlib.h as it breaks dmallocGlenn L McGrath2002-11-241-2/+1
|
* Patch last_pach62 from vodz. This patch moves all the /proc parsingEric Andersen2002-10-221-0/+137
code into libbb so it can be shared by ps, top, etc, saving over 1.5k.