aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* quiet some noiseandersen2003-08-081-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7187 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kent Robotti noted that mt.c uses "rewind" not "rew"andersen2003-08-081-1/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7186 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti to being fdisk in sync with v2.12 final.andersen2003-08-081-6/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7185 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unnecessary defamatory commentandersen2003-08-081-12/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7182 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a stupid bug I introduced several months agoandersen2003-08-081-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Begin preparing for another releaseandersen2003-08-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7178 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest dash update from vodzandersen2003-08-063-528/+910
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Eric Spakman to update "run-parts" help text in Config.in.andersen2003-08-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7176 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eric Spakman writes:andersen2003-08-061-7/+11
| | | | | | | | | | | | | | | | | | | | | | The attached patch adds "mtu" and "hwaddress" to the inet6 method and "mtu", "hwaddr" and "pointopoint" to the inet4 method (just like in the ifupdown part). Note: "hwaddress" can't be used with the busybox ip applet (this function isn't implemented in bb ip yet), but it can be of use with an external "full blown" ip package. The patch also removes "label" from the loopback configuration, labels (subinterfaces) aren't used with loopback interfaces. It further solves a problem in the bootp method, "ifconfig down %interface%" should be "ifconfig %interface% down" and it's now also possible to use ip with bootp. The patch is fully tested with both busybox ip and "stand-alone" ip and I didn't saw any problems. git-svn-id: svn://busybox.net/trunk/busybox@7175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz:andersen2003-08-062-10/+96
| | | | | | | | | | | | | | | | | | | | | I wrote: >>I think, fdisk have special ext2lseek special for: >>disk can have size > 4Gb, but all any partitions have < 4Gb and lseek64 >>not require. >>May be best create new configure option for set DOLFS for fdisk applet >>if global DOLFS unset? > Erik Andersen wrote: >Agreed. Using an extra configure option when ! DOLFS >would be a good idea. Ok. Patch attached. git-svn-id: svn://busybox.net/trunk/busybox@7174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Steven Scholz:andersen2003-08-063-2/+20
| | | | | | | | | | | | | | should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and use it for "set" and "get" ??? Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still can use "hdparm -d 1 /dev/hda" to switch the DMA on. Is this desireable or meant to be like that? So how about the applied patch? git-svn-id: svn://busybox.net/trunk/busybox@7173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steven Scholz writes:andersen2003-08-061-1/+0
| | | | | | | | | | | | | | | | | the output of lsmod (busybox-1.00-pre2) contains IMHO one "\n" too much when using CONFIG_FEATURE_CHECK_TAINTED_MODULE: ~ # lsmod Module Size Used by Tainted: P ds 8364 1 m8xx_pcmcia 5388 1 pcmcia_core 40736 0 [ds m8xx_pcmcia] and this patch from Steven fixes the problem git-svn-id: svn://busybox.net/trunk/busybox@7172 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync hdparm -t and -T options with hdparm-5.3, which seemsandersen2003-08-061-66/+69
| | | | | | | to produce sensible results, git-svn-id: svn://busybox.net/trunk/busybox@7171 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to cleanup libbb/obscure.c:password_check()andersen2003-08-061-3/+3
| | | | | | | to not copy too much data. git-svn-id: svn://busybox.net/trunk/busybox@7170 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Joe.C writes:andersen2003-08-061-1/+5
| | | | | | | | | | | | | | | | | | I've reported this bug in April and it still exists in 1.00-pre2. So I made patches for both 0.60.x and 1.00-pre2. The patch is very simple, just use strncmp instead of strcmp. Please apply if it is OK. Here's the procedure to test this problem: Create a executable with very long name, say 'test_1234567890123456' and execute it. Try using 'killall' or 'pidof' to find/kill this program. Without this patch, you can't find the program. git-svn-id: svn://busybox.net/trunk/busybox@7169 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup segfault on 'kill -q'andersen2003-08-061-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7168 69ca8d6d-28ef-0310-b511-8ec308f3f277
* extern inline is a bad bad thing. kill it (so mkfs_minix.c willandersen2003-08-061-11/+11
| | | | | | | actually compile) git-svn-id: svn://busybox.net/trunk/busybox@7167 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Seems I missed a spotandersen2003-08-052-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7163 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Merge/rework config system per the latest from linux-2.6.0-test2.andersen2003-08-0515-2551/+3447
| | | | | | | | Fix the config bugs revealed by the updated config system. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7160 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Might as well get my name in AUTHORS before 1.0...mjn32003-08-021-4/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7155 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Save 0.5K.mjn32003-08-021-129/+154
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7154 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove code that too agressively disabled inlinesandersen2003-08-011-5/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanupandersen2003-07-311-5/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug when handling debian packages.bug12003-07-311-3/+5
| | | | | | | | | If we read the contents of compressed files within the ar archive, e.g. control.tar.gz, then file position gets all out of whack, so it has to be reset before reading thenext header. git-svn-id: svn://busybox.net/trunk/busybox@7146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove LRP (now defunct) and replace it with leaf.andersen2003-07-301-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7145 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update webpage and changelog for releaseandersen2003-07-303-18816/+603
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7143 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lars Ekman writes:andersen2003-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | When using "losetup" the device is always setup as Read-Only. (I have only tested with the -o flag, but looking at the code the problem seems general) The problem is the "opt" variable in "losetup.c" that is reused in the "set_loop()" call. Clear it before the call and everything is OK; opt = 0; /* <-------- added line */ if (delete) return del_loop (argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE; else return set_loop (argv[optind], argv[optind + 1], offset, &opt) ? EXIT_FAILURE : EXIT_SUCCESS; } Best Regards, Lars Ekman git-svn-id: svn://busybox.net/trunk/busybox@7142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch100 from vidz updating fdisk to 2.12preandersen2003-07-301-317/+330
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not require that the signal number be specifiedandersen2003-07-301-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7139 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eric Spakman writes:andersen2003-07-301-1/+1
| | | | | | | | | | | | | | | | | | The recent changes in ifupdown where all calls to 'ip link set' and 'ip addr set' are swapped give some problems with v4tunnels. For plain ipv4 and ipv6 interfaces it works correct, other methods not tried. The patch below change the behaviour back for v4tunnels only. Without the patch the following errors are shown: RTNETLINK answers: Network is down RTNETLINK answers: No route to host and the tunnel is not fully brought up With this patch all works as expected. git-svn-id: svn://busybox.net/trunk/busybox@7138 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir N. Oleynik writes:andersen2003-07-301-2/+5
| | | | | | | | | | | | | | | | | | | This moment have algoritmicaly problem, not overflow: strcat(wrapped, wrapped) - may be looped. Hand patch: - else if (strstr(strcat(wrapped, wrapped), newmono)) + else { + safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1); + if (strstr(wrapped, newmono)) +} --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7137 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Christian Meyer provided this patch to fix more bugs with the tftp clientandersen2003-07-301-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7136 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ronny L Nilsson writes:andersen2003-07-301-5/+2
| | | | | | | | | | | The login process should always timeout if user don't login sucessfully within reasonable time. Otherwise we're sensetive to a DOS attack by simply doing a bunch of simultaneous telnet connections (deploys all availible TTY's). This patch make login.c terminate the connection after "TIMEOUT" seconds. git-svn-id: svn://busybox.net/trunk/busybox@7135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ronny L Nilsson writes:andersen2003-07-301-1/+5
| | | | | | | | | If BusyBox was compiled with -DCONFIG_FEATURE_CLEAN_UP dmesg command segfaults if invoked with the "-n" option. (Due to a free() of an uninitialized pointer). git-svn-id: svn://busybox.net/trunk/busybox@7134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Set libbb dead last in the link orderandersen2003-07-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7133 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Match up interfacesandersen2003-07-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup typo noticed by Nick Fedchikandersen2003-07-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bruno Randolf writes:andersen2003-07-294-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@7130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir N. Oleynik writes:andersen2003-07-292-33/+97
| | | | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@7129 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yang Xiaopeng writes:andersen2003-07-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | >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. git-svn-id: svn://busybox.net/trunk/busybox@7128 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bump version to 1.0.0-pre2andersen2003-07-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7127 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A small update to the new docs. Plenty more is needed...andersen2003-07-281-17/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7126 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to update httpd usageandersen2003-07-281-4/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is synced from dash-0.4.17 and full ready for insert to new busyboxandersen2003-07-282-6805/+7203
| | | | | | | | | | | | | | version: ftp://ftp.simtreas.ru/pub/my/bb/new News: - code is smalest! - support ${var...} expr - used new very strongly steal controlling terminal git-svn-id: svn://busybox.net/trunk/busybox@7124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid shadowing built-in function `log'andersen2003-07-281-33/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup bugs in last patchandersen2003-07-283-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update docs a bitandersen2003-07-281-8/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch98 from vodz:andersen2003-07-281-12/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@7120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch95 from vodz:andersen2003-07-2811-246/+316
| | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@7119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a "search google" buttonandersen2003-07-281-8/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7118 69ca8d6d-28ef-0310-b511-8ec308f3f277