summaryrefslogtreecommitdiff
path: root/procps/ps.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-12-23Patch from Matt Kraai:Eric Andersen1-2/+4
sed is broken: busybox sed -n '/^a/,/^a/p' >output <<EOF a b a b EOF cmp -s output - <<EOF a b a EOF The attached patch fixes it.
2003-12-23Fix compile error, the indenting really needs to be fixed hereGlenn L McGrath1-1/+1
2003-12-22Fix a bug of mine where extracting files to stdout would extract toGlenn L McGrath1-1/+1
much, modified patch from Bastian Blank
2003-12-21Bump versionEric Andersen1-1/+1
2003-12-21Don't hose up perms for files that happen to have symlinksEric Andersen1-2/+4
in the tarball that point to them. -Erik
2003-12-20bother. It seems I can't read.Eric Andersen1-4/+0
2003-12-20doh!Eric Andersen1-1/+1
2003-12-20New applet, rx, by Christopher HooverGlenn L McGrath5-0/+361
2003-12-20Try to accomodate systems that do not define PAGE_SHIFTEric Andersen1-0/+4
2003-12-20Eradicate all references to loadacmEric Andersen4-76/+46
2003-12-20Kill off the loadacm applet. It is unused, unmaintainedEric Andersen10-370/+11
garbage leftover from before I started maintaining BusyBox. As the Klingon's like to say, Today is a good day to die. -Erik
2003-12-20Use bb_xopenGlenn L McGrath4-19/+6
2003-12-20Allow recieving file to stdout, sending files from stdin, use the '-'Glenn L McGrath1-35/+37
filename. Save a variable.
2003-12-20Use low level file descriptors to match bb_copyfd_eofGlenn L McGrath1-20/+19
2003-12-20display the port number number correctly, other minor optimisationsGlenn L McGrath1-30/+20
2003-12-20Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath6-49/+39
function as there is no gracefull way of handling failures. Rename bb_getport to bb_lookup_port, allow a default port to be specified so it always returns a correct value. Modify ftpgetput/rdate/wget to use the new interface. wget/rdate now use etc/services with a falback default value.
2003-12-19Patch from Woody Suwalski:Eric Andersen2-31/+77
Erik, I think we have met online some time ago when I was in Corel/Rebel Netwinder project.... Anyway, I would like to use BB on 2.6.0 initrd. 1.00-pre4 works OK, if insmod is actually presented with a full path to the module. Otherwise - problems (not to mention conflicts when 2.4 modutil is enabled) Here are some patches for insmod and modprobe which try to walk around the default ".o" module format for 2.2/2.4 modules (you have probably noticed it is now .ko in 2.6 ;-)) Trying to steal as little space as possible if 2.6 not enabled... The modprobe is still not perfect on 2.6 - seems to be jamming on some dependencies, but works with some (to be debugged). Anyway after the patches it at least tries to work.... Will there be a 1.00-pre5 coming any time soon? Thanks, Woody
2003-12-19Use getopt_ulflagsGlenn L McGrath1-58/+50
2003-12-19Allow escaped 8 bit characters in bb_opt_complementalyGlenn L McGrath1-1/+1
2003-12-19Patch from Fillod Stephane:Eric Andersen5-12/+70
You will find in the attached file "syslog.patch" a patch which adds config options to set at compile time the size of the circular buffer, and some documentation update.
2003-12-19Patch from Fillod Stephane:Eric Andersen1-1/+10
* While I'm at it, there's also a "telnetd.patch" which maps CRLF to CR, like netkit-telnet does, required by the loosy Windows telnet clients.
2003-12-19Patch from Fillod Stephane:Eric Andersen1-2/+8
* The "rdate.patch" file makes rdate to NOT settimeofday if the date to be set equals current date. This prevents the system from experiencing nasty time discontinuities caused by sub-second changes, with a protocol that has only over second resolution. Depending on your taste, the "fprintf(stderr..." may be removed.
2003-12-19Patch from Stephane Billiart:Eric Andersen1-1/+5
This removes references to config->remoteuser when CONFIG_FEATURE_HTTPD_CGI=y but CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
2003-12-19Tito writes:Eric Andersen3-345/+477
Hi to all, here is a new patch for bb's devfsd. The news are: 1) Size reduction for the basic setup with no options compiled in from : text data bss dec hex filename 10591 392 543 11526 2d06 devfsd.o rw-r--r-- 1 root root 18536 Dec 18 21:52 devfsd.o to: text data bss dec hex filename 9303 392 543 10238 27fe devfsd.o rw-r--r-- 1 root root 16528 Dec 18 22:02 devfsd.o With this setup you should not expect much output from devfsd ( just at start or with -v) and if some error occurs it only exits 1. To have more output enable: " Increases logging (and size)" (+1568 b). 2) The option "Adds function names to program output" was removed from config menu and now to enable debug output you can use bb's standard option: "Build BusyBox with Debugging symbols". Be careful as with this option enabled a lot of data are outputted to /dev/log and/or to stderr. 3) A new option: "Enables the -fg and -np option" was added to config menu (+128 b). BTW: option "Adds support for MODLOAD keyword in devsfd.conf" adds 268 b. 4) The following keywords in devsfd.conf are supported: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". But only if they are written UPPERCASE!!!!!!!! 5)Help text in usage.h was modified. 6)Something that I have forgotten.......... I've tested this for the last week on my box and it seems to work as expected. Thanks in advance and please apply. Ciao, Tito
2003-12-19Manousaridis Angelos writes:Eric Andersen1-8/+9
Another issue I found was with the iproute utility. While using another program I found that it failed because the "ip route del" command was not found. I looked at the full iproute implementation and this command exists. The busybox version has the "ip route delete" command. I have created a patch which makes the "ip route del" command an alias to the "ip route delete" command.
2003-12-19Manousaridis Angelos writes:Eric Andersen1-10/+8
Hello, I have been using busybox for some time now, for an ARM based platform. I was very pleased when I tried the 1.00preX series, with all the new utilities and daemons. I found out that the ifupdown in busybox does not behave exaclty like the debian version. Then the pre-up script fails, the interface is getting up. Also when the post-up script fails the return value is ignored. Actually everything is always run and the return value is always true. I looked at the original implementation from debian and fixed the busybox version to do the same. A patch is attached if anyone is interested.
2003-12-19don't use kernel headersEric Andersen1-1/+35
2003-12-19Use getopt_ulflagsGlenn L McGrath1-31/+23
2003-12-19vodz noticed we need to cast things back to an unsigned longEric Andersen1-2/+2
or the syscall will not get the proper arguments.
2003-12-19Fix a bug preventing use of escaped characters that use the signed bitGlenn L McGrath1-3/+2
2003-12-18rename __getgrent so that it doesn't conflict with some libc'sRuss Dill7-8/+8
2003-12-18Finish remerging busybox udhcp and udhcp. Some cleanups as well.Russ Dill25-284/+509
2003-12-16clean up some bad, bad formattingRuss Dill1-48/+49
2003-12-16include headers with prototypes to make sure prototypes matchRuss Dill8-1/+9
2003-12-16remove reference to missing header file which is breaking the buildEric Andersen1-1/+0
2003-12-16Using vlock also requires libcryptEric Andersen1-0/+1
2003-12-16revert removal of defineRuss Dill1-1/+1
2003-12-16forgotten includeRuss Dill1-0/+1
2003-12-16why the complication of a static string rather than a define? gcc isn't dumbRuss Dill3-2/+5
2003-12-16start attempting to bring udhcp in busybox back to the state where it is ↵Russ Dill3-6/+80
(ideally) an exact copy of udhcp outside of busybox so that its easy to merge back and forth
2003-12-16when compiled standalone, udhcp needs these headersRuss Dill1-0/+2
2003-12-16whoopsRuss Dill1-1/+1
2003-12-16not sure who made this change, but it certainly mucks things up (note ↵Russ Dill1-9/+13
'fwrite(leases, ...'), adds a bit more code, and some stack overhead. Anywho, this fixes it, and retains the spirit of what the submitter of this change was attempting to acheive (the entire lease is written at once in a struct)
2003-12-15make udhcp work under uclinux, to an extentRuss Dill2-1/+7
2003-12-15options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill5-16/+17
compiling into busybox
2003-12-15Get vfork_daemon_rexec working under uclinuxRuss Dill5-20/+72
2003-12-12Be certain we use a correct entity when performing theEric Andersen1-1/+1
BLKGETSIZE64 ioctl -- don't just assume 8,
2003-12-12Doh! I broke automatic filesystem type guessing. Fix mount soEric Andersen1-2/+3
it will properly fall back to /proc/mounts when /etc/filesystems is missing, allowing mount to guess the correct fs type when a fs type is not explicitly specified. -Erik
2003-12-12Fix compile when CONFIG_FEATURE_HDPARM_GET_IDENTITY is disabledEric Andersen1-6/+9
2003-12-11It appears the Netgear WG602 distributes sourceEric Andersen2-1/+2