aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-07-29Bruno Randolf writes:Eric Andersen
this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a NULL terminated char* array, not just a string. 2) run_parts now explicitly sets the environment. this environment is populated from the /etc/network/interfaces config file and is needed by the scripts in /etc/network/if-pre-up.d/. when run-parts is called from the command line the environment is taken from the current process. Vladimir Oleynik then wrote: You can simplify this if use: + bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt); + buf[1] = NULL; + + run_parts(&buf, 2, environ); + free(buf[0]); --w vodz
2003-07-29Vladimir N. Oleynik writes:Eric Andersen
Last patch have synced form Manuel Nova III xxreadtoken() function, corrected (C) form dash debian/copyright, removed my small mistake with IFS_BROKEN (thanks by Herbert), and synced cmdedit.c from current CVS (removed libc5 support, your email correction, my (C) year corertion).
2003-07-29Yang Xiaopeng writes:Eric Andersen
>I'm sure that no user process use old root now, but when run "umount >/old_root", it says: > umount: /old_root: Device or resource busy > >I have tried to remount /proc within the new root *after* chroot, but >get the same result. > > I found the problem, I said that no user process use old root when run my scripts, but I'm wrong, actually there is a '3' fd open the file "/old_root/dev/console". By adding debug message in init/init.c, I found the problem: when init restart(in exec_signal()), before open the new terminal device, there is still a file opened(I don't know which file it is), so the terminal device(stdin) get fd '1', and the first dup(0)(stdout) return '2', the second(stderr) return '3'. I attach a simple patch to solve this problem.
2003-07-28bump version to 1.0.0-pre2Eric Andersen
2003-07-28A small update to the new docs. Plenty more is needed...Eric Andersen
2003-07-28Patch from vodz to update httpd usageEric Andersen
2003-07-28This is synced from dash-0.4.17 and full ready for insert to new busyboxEric Andersen
version: ftp://ftp.simtreas.ru/pub/my/bb/new News: - code is smalest! - support ${var...} expr - used new very strongly steal controlling terminal
2003-07-28Avoid shadowing built-in function `log'Eric Andersen
2003-07-28Fixup bugs in last patchEric Andersen
2003-07-28Update docs a bitEric Andersen
2003-07-28last_patch98 from vodz:Eric Andersen
Denis, ># ./busybox env - echo zzz >zzz ># ./busybox echo -n zzz >zzz ># ./busybox env - echo -n zzz >env: invalid option -- n > > obviously, env tried to understand -n as env's option > instead of blindly passing it to echo... > >BusyBox v1.00-pre1 (2003.07.16-07:53+0000) multi-call binary > >Usage: env [-iu] [-] [name=value]... [command] Ah, you found very old problem. Last patch also have: - multiple "-u unsetenv" support - GNU long option support - save errno after exec failed before bb_perror_msg() --w vodz
2003-07-28last_patch95 from vodz:Eric Andersen
Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz
2003-07-28Add a "search google" buttonEric Andersen
2003-07-28James Petterson writes:Eric Andersen
I've found a possible bug in libbb/interface.c, in function if_readlist_proc(). This function calls get_name(), and passes as an argument 'name', a buffer of 16 bytes (IFNAMSIZ). The function get_name(), however, may use more than 16 bytes, when it is searching for aliases. Even if you don't have an alias interface, you can run into trouble if the interface has received more than 99999999 bytes, in which case the space between the interface name and the rx stats disappears, as in the /proc/net/dev example below: wan0.200:264573315 462080 ... In this case get_name() correctly identifies the interface name as "wan0.200", but to do that it uses 18 bytes of the 'name' buffer, which could lead to an unpredictable error. A simple solution would be to increase the size of the buffer:
2003-07-26There should be only one instance of CONFIG_FEATURE_AUTOWIDTHEric Andersen
2003-07-26Allow people to use the full blown iproute2 programs with busybox ifupdown.Eric Andersen
2003-07-26Move start_stop_daemon to debianutils.Eric Andersen
Cleanup run_parts a bit and add long opts
2003-07-26cleanup and add long optionsEric Andersen
2003-07-26The logger utility does not really depend on CONFIG_SYSLOGD,Eric Andersen
since it can also be used with other syslog daemons -Erik
2003-07-26Patch from Christian Meyer:Eric Andersen
The client gives up way too soon because timeout is set to 0 ... There's a solution for that problem.
2003-07-26Some additional description based on a patch from Terje KvernesEric Andersen
2003-07-26Patch from Nick Fedchik to fixup paths in busybox/libpwdgrpEric Andersen
which were not properly using the bb_path_*_file strings.
2003-07-26Rework kill / killall so it behaves itself, even when subjectedEric Andersen
to abuse. -Erik
2003-07-26Patch from Thomas Gleixner to reap any zombie processes that areEric Andersen
reparented to init...
2003-07-26Don't depend on CONFIG_LFS. It is really a suggestion, not a requirement,Eric Andersen
since fdisk will work just fine on smaller disks w/o it.
2003-07-23Set the tm_isdst flag to -1 before calling mktime(). Otherwise, the currentManuel Novoa III
timezone setting is used for the new date.
2003-07-22eliminate DOSTATIC, DODEBUG, etc and name them sensiblyEric Andersen
2003-07-22Several simplifications and indenting changes, perEric Andersen
last_patch97 from vodz
2003-07-22As vodz noticed, I screwed up rebootEric Andersen
2003-07-22the word "only" is repeated for CONFIG_FEATURE_SHADOWPASSWDSEric Andersen
2003-07-22There is no need to expose CONFIG_FEATURE_TRACEROUTE_SO_DEBUGEric Andersen
2003-07-22Document CONFIG_FEATURE_INSMOD_LOADINKMEMEric Andersen
2003-07-22Document CONFIG_ASH_CMDCMDEric Andersen
2003-07-22Write some more docsEric Andersen
2003-07-22Remove the update utility, that is only relevant to older 2.0.x kernelsEric Andersen
that are no longer supported.
2003-07-22Patch from Terje Kvernes adding quite a lot of missing documentationEric Andersen
2003-07-22Patch from Andrew Flegg:Eric Andersen
Here's a pretty crude patch to reload /etc/inittab when init receives a SIGHUP. The mailing list archives weren't entirely clear on whether or not it should already happen, but didn't appear to be. The patch: * Adds a new function, reload_signal() which just calls parse_inittab() and run_actions(RESPAWN) * Before entering the while (1) loop set up SIGHUP to call reload_signal() * Modify new_init_action to skip the action if the same command already exists on the same terminal This last bit means that changing already running entries is a bit hairy as you can end up with, for example, two shells running on the same virtual console. However, for solely adding/removing entries this patch seems to work quite well.
2003-07-22Support reboot, halt, and poweroff independent of busybox init.Eric Andersen
Simplify and fixup some logic. -Erik
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-22A minor update for handling older gcc versionsEric Andersen
2003-07-22Update TODO listEric Andersen
2003-07-22Add a default clean targetEric Andersen
2003-07-22Very minor rdate updatesEric Andersen
2003-07-22Error out early if people try to build mount with nfs supportEric Andersen
using uClibc, but have not enabled UCLIBC_HAS_RPC... -Erik
2003-07-22mention stresslinuxEric Andersen
2003-07-22Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
Here's a bunch of fixes for the watchdog app in busybox. This does a couple of things: - configurable timer duration (userspace timer duration is usually configurable within the device drivers themselves). - run as a daemon - shutdown the device properly on SIGINT or SIGHUP - clear the counter immediately instead of sleeping first as well as updating the usage information. This has also been switched over to getopt to deal with the optional timer duration specifier. The changes themselves are harmless and isolated, and I've veried that this works on sh and x86 without any problems.
2003-07-22Patch from Paul Mundt:Eric Andersen
The current SC_x references automatically assume that everyone uses ttyS/tts as their naming scheme for their serial ports. This isn't the case for quite a few architectures, including sh, sh64, h8, arm, etc.
2003-07-22Matteo Croce submitted a hdparm applet.Eric Andersen
2003-07-22Patch from Jeff Angielski <jeff@theptrgroup.com> recognizingEric Andersen
his work on ftpput and ftpget.
2003-07-19Fixup some little error in the webpage. Mention the Dell TrueMobile 1184.Eric Andersen