Busybox modprobe has a couple of irritating quirks:
[oweals/busybox.git] / Changelog
1 ---------------------
2 PatchSet 3399 
3 Date: 2003/07/15 08:15:03
4 Author: andersen
5 Branch: HEAD
6 Tag: (none) 
7 Log:
8 Document CONFIG_USE_BB_PWD_GRP
9
10 Members: 
11         loginutils/Config.in:1.3->1.4 
12
13 ---------------------
14 PatchSet 3400 
15 Date: 2003/07/15 08:52:40
16 Author: andersen
17 Branch: HEAD
18 Tag: busybox_1_00_pre1 
19 Log:
20 Update changelog and docs
21
22 Members: 
23         Changelog:1.280->1.281 
24         docs/busybox.net/index.html:1.120->1.121 
25         docs/busybox.net/oldnews.html:1.13->1.14 
26         docs/busybox.net/screenshot.html:1.4->1.5 
27
28 ---------------------
29 PatchSet 3401 
30 Date: 2003/07/16 07:29:51
31 Author: andersen
32 Branch: HEAD
33 Tag: (none) 
34 Log:
35 Fixup problem unconditionally converting all hard links to symlinks.
36
37 Members: 
38         archival/libunarchive/get_header_tar.c:1.18->1.19 
39
40 ---------------------
41 PatchSet 3402 
42 Date: 2003/07/16 08:31:14
43 Author: andersen
44 Branch: HEAD
45 Tag: (none) 
46 Log:
47 Update required kernel version and note that libc5 is no longer
48 supported (it is unmaintained and lacks support for simple things
49 such as stdint.h) and uClibc is a better choice these days anyways.
50
51 Members: 
52         README:1.26->1.27 
53
54 ---------------------
55 PatchSet 3403 
56 Date: 2003/07/19 09:19:21
57 Author: andersen
58 Branch: HEAD
59 Tag: (none) 
60 Log:
61 Fixup some little error in the webpage.  Mention the Dell TrueMobile 1184.
62
63 Members: 
64         docs/busybox.net/index.html:1.121->1.122 
65
66 ---------------------
67 PatchSet 3404 
68 Date: 2003/07/22 06:57:29
69 Author: andersen
70 Branch: HEAD
71 Tag: (none) 
72 Log:
73 Patch from Jeff Angielski <jeff@theptrgroup.com> recognizing
74 his work on ftpput and ftpget.
75
76 Members: 
77         AUTHORS:1.36->1.37 
78
79 ---------------------
80 PatchSet 3405 
81 Date: 2003/07/22 08:30:36
82 Author: andersen
83 Branch: HEAD
84 Tag: (none) 
85 Log:
86 Matteo Croce submitted a hdparm applet.
87
88 Members: 
89         include/applets.h:1.99->1.100 
90         include/usage.h:1.157->1.158 
91         miscutils/Config.in:1.2->1.3 
92         miscutils/Makefile.in:1.5->1.6 
93         miscutils/hdparm.c:INITIAL->1.1 
94
95 ---------------------
96 PatchSet 3406 
97 Date: 2003/07/22 08:33:14
98 Author: andersen
99 Branch: HEAD
100 Tag: (none) 
101 Log:
102 Patch from Paul Mundt:
103
104     The current SC_x references automatically assume that everyone uses ttyS/tts
105     as their naming scheme for their serial ports. This isn't the case for quite
106     a few architectures, including sh, sh64, h8, arm, etc.
107
108 Members: 
109         include/libbb.h:1.103->1.104 
110
111 ---------------------
112 PatchSet 3407 
113 Date: 2003/07/22 08:39:18
114 Author: andersen
115 Branch: HEAD
116 Tag: (none) 
117 Log:
118 Paul Mundt <lethal@linux-sh.org> writes:
119
120         Here's a bunch of fixes for the watchdog app in busybox. This does a
121         couple of things:
122
123                 - configurable timer duration (userspace timer duration is
124                   usually configurable within the device drivers themselves).
125                 - run as a daemon
126                 - shutdown the device properly on SIGINT or SIGHUP
127                 - clear the counter immediately instead of sleeping first
128
129         as well as updating the usage information. This has also been switched
130         over to getopt to deal with the optional timer duration specifier.
131
132         The changes themselves are harmless and isolated, and I've veried that
133         this works on sh and x86 without any problems.
134
135 Members: 
136         include/usage.h:1.158->1.159 
137         miscutils/watchdog.c:1.6->1.7 
138
139 ---------------------
140 PatchSet 3408 
141 Date: 2003/07/22 08:50:18
142 Author: andersen
143 Branch: HEAD
144 Tag: (none) 
145 Log:
146 mention stresslinux
147
148 Members: 
149         docs/busybox.net/index.html:1.122->1.123 
150
151 ---------------------
152 PatchSet 3409 
153 Date: 2003/07/22 09:25:37
154 Author: andersen
155 Branch: HEAD
156 Tag: (none) 
157 Log:
158 Error out early if people try to build mount with nfs support
159 using uClibc, but have not enabled UCLIBC_HAS_RPC...
160  -Erik
161
162 Members: 
163         util-linux/mount.c:1.112->1.113 
164
165 ---------------------
166 PatchSet 3410 
167 Date: 2003/07/22 09:26:05
168 Author: andersen
169 Branch: HEAD
170 Tag: (none) 
171 Log:
172 Very minor rdate updates
173
174 Members: 
175         include/applets.h:1.100->1.101 
176         include/usage.h:1.159->1.160 
177         util-linux/rdate.c:1.22->1.23 
178
179 ---------------------
180 PatchSet 3411 
181 Date: 2003/07/22 09:54:02
182 Author: andersen
183 Branch: HEAD
184 Tag: (none) 
185 Log:
186 Add a default clean target
187
188 Members: 
189         tests/Makefile:1.4->1.5 
190
191 ---------------------
192 PatchSet 3412 
193 Date: 2003/07/22 09:55:12
194 Author: andersen
195 Branch: HEAD
196 Tag: (none) 
197 Log:
198 Update TODO list
199
200 Members: 
201         TODO:1.85->1.86 
202
203 ---------------------
204 PatchSet 3413 
205 Date: 2003/07/22 09:56:01
206 Author: andersen
207 Branch: HEAD
208 Tag: (none) 
209 Log:
210 A minor update for handling older gcc versions
211
212 Members: 
213         Rules.mak:1.16->1.17 
214
215 ---------------------
216 PatchSet 3414 
217 Date: 2003/07/22 09:56:42
218 Author: andersen
219 Branch: HEAD
220 Tag: (none) 
221 Log:
222 Remove remaining libc5 support code
223
224 Members: 
225         coreutils/chgrp.c:1.14->1.15 
226         coreutils/chown.c:1.22->1.23 
227         include/busybox.h:1.52->1.53 
228         include/libbb.h:1.104->1.105 
229         init/init.c:1.188->1.189 
230         init/reboot.c:1.28->1.29 
231         libbb/Makefile.in:1.23->1.24 
232         libbb/dirname.c:1.6->1.7(DEAD) 
233         libbb/interface.c:1.16->1.17 
234         libbb/libc5.c:1.6->1.7(DEAD) 
235         libbb/module_syscalls.c:1.12->1.13 
236         libbb/syscalls.c:1.11->1.12 
237         libpwdgrp/setgroups.c:1.3->1.4 
238         miscutils/adjtimex.c:1.4->1.5 
239         miscutils/dutmp.c:1.30->1.31 
240         miscutils/update.c:1.24->1.25 
241         modutils/insmod.c:1.98->1.99 
242         networking/ping.c:1.54->1.55 
243         networking/traceroute.c:1.11->1.12 
244         networking/wget.c:1.53->1.54 
245         shell/cmdedit.c:1.79->1.80 
246         sysklogd/klogd.c:1.15->1.16 
247         sysklogd/logread.c:1.11->1.12 
248         sysklogd/syslogd.c:1.97->1.98 
249         util-linux/dmesg.c:1.29->1.30 
250         util-linux/swaponoff.c:1.34->1.35 
251
252 ---------------------
253 PatchSet 3415 
254 Date: 2003/07/22 10:41:39
255 Author: andersen
256 Branch: HEAD
257 Tag: (none) 
258 Log:
259 Support reboot, halt, and poweroff independent of busybox init.
260 Simplify and fixup some logic.
261  -Erik
262
263 Members: 
264         init/Config.in:1.5->1.6 
265         init/halt.c:1.22->1.23 
266         init/init_shared.c:1.1->1.2 
267         init/init_shared.h:1.1->1.2 
268         init/poweroff.c:1.19->1.20 
269         init/reboot.c:1.29->1.30 
270
271 ---------------------
272 PatchSet 3416 
273 Date: 2003/07/22 10:48:56
274 Author: andersen
275 Branch: HEAD
276 Tag: (none) 
277 Log:
278 Patch from  Andrew Flegg:
279
280     Here's a pretty crude patch to reload /etc/inittab when init receives a
281     SIGHUP. The mailing list archives weren't entirely clear on whether or
282     not it should already happen, but didn't appear to be.
283
284     The patch:
285        * Adds a new function, reload_signal() which just calls
286          parse_inittab() and run_actions(RESPAWN)
287
288        * Before entering the while (1) loop set up SIGHUP to call
289          reload_signal()
290
291        * Modify new_init_action to skip the action if the same command
292          already exists on the same terminal
293
294     This last bit means that changing already running entries is a bit
295     hairy as you can end up with, for example, two shells running on the
296     same virtual console. However, for solely adding/removing entries this patch
297     seems to work quite well.
298
299 Members: 
300         init/init.c:1.189->1.190 
301
302 ---------------------
303 PatchSet 3417 
304 Date: 2003/07/22 10:59:28
305 Author: andersen
306 Branch: HEAD
307 Tag: (none) 
308 Log:
309 Patch from Terje Kvernes adding quite a lot of missing documentation
310
311 Members: 
312         editors/Config.in:1.5->1.6 
313         loginutils/Config.in:1.4->1.5 
314         modutils/Config.in:1.6->1.7 
315         networking/Config.in:1.16->1.17 
316         procps/Config.in:1.5->1.6 
317         shell/Config.in:1.5->1.6 
318
319 ---------------------
320 PatchSet 3418 
321 Date: 2003/07/22 11:11:27
322 Author: andersen
323 Branch: HEAD
324 Tag: (none) 
325 Log:
326 Remove the update utility, that is only relevant to older 2.0.x kernels
327 that are no longer supported.
328
329 Members: 
330         docs/busybox_header.pod:1.10->1.11 
331         include/applets.h:1.101->1.102 
332         include/usage.h:1.160->1.161 
333         miscutils/Makefile.in:1.6->1.7 
334         miscutils/update.c:1.25->1.26(DEAD) 
335
336 ---------------------
337 PatchSet 3419 
338 Date: 2003/07/22 11:11:48
339 Author: andersen
340 Branch: HEAD
341 Tag: (none) 
342 Log:
343 Write some more docs
344
345 Members: 
346         miscutils/Config.in:1.3->1.4 
347
348 ---------------------
349 PatchSet 3420 
350 Date: 2003/07/22 11:14:32
351 Author: andersen
352 Branch: HEAD
353 Tag: (none) 
354 Log:
355 Document CONFIG_ASH_CMDCMD
356
357 Members: 
358         shell/Config.in:1.6->1.7 
359
360 ---------------------
361 PatchSet 3421 
362 Date: 2003/07/22 11:16:58
363 Author: andersen
364 Branch: HEAD
365 Tag: (none) 
366 Log:
367 Document CONFIG_FEATURE_INSMOD_LOADINKMEM
368
369 Members: 
370         modutils/Config.in:1.7->1.8 
371
372 ---------------------
373 PatchSet 3422 
374 Date: 2003/07/22 11:18:17
375 Author: andersen
376 Branch: HEAD
377 Tag: (none) 
378 Log:
379 There is no need to expose CONFIG_FEATURE_TRACEROUTE_SO_DEBUG
380
381 Members: 
382         networking/Config.in:1.17->1.18 
383
384 ---------------------
385 PatchSet 3423 
386 Date: 2003/07/22 18:03:24
387 Author: andersen
388 Branch: HEAD
389 Tag: (none) 
390 Log:
391 the word "only" is repeated for CONFIG_FEATURE_SHADOWPASSWDS
392
393 Members: 
394         loginutils/Config.in:1.5->1.6 
395
396 ---------------------
397 PatchSet 3424 
398 Date: 2003/07/22 18:04:54
399 Author: andersen
400 Branch: HEAD
401 Tag: (none) 
402 Log:
403 As vodz noticed, I screwed up reboot
404
405 Members: 
406         init/reboot.c:1.30->1.31 
407
408 ---------------------
409 PatchSet 3425 
410 Date: 2003/07/22 18:14:10
411 Author: andersen
412 Branch: HEAD
413 Tag: (none) 
414 Log:
415 Several simplifications and indenting changes, per
416 last_patch97 from vodz
417
418 Members: 
419         init/init_shared.c:1.2->1.3 
420
421 ---------------------
422 PatchSet 3426 
423 Date: 2003/07/22 23:15:16
424 Author: andersen
425 Branch: HEAD
426 Tag: (none) 
427 Log:
428 eliminate DOSTATIC, DODEBUG, etc and name them sensibly
429
430 Members: 
431         Rules.mak:1.17->1.18 
432         coreutils/tr.c:1.35->1.36 
433         debian/config-deb:1.6->1.7 
434         debian/config-net-udeb:1.2->1.3 
435         debian/config-net-udeb-i386:1.3->1.4 
436         debian/config-static:1.9->1.10 
437         debian/config-udeb:1.13->1.14 
438         debian/config-udeb-i386:1.3->1.4 
439         debian/rules:1.23->1.24 
440         sysdeps/linux/Config.in:1.9->1.10 
441         sysklogd/syslogd.c:1.98->1.99 
442
443 ---------------------
444 PatchSet 3427 
445 Date: 2003/07/24 00:24:31
446 Author: mjn3
447 Branch: HEAD
448 Tag: (none) 
449 Log:
450 Set the tm_isdst flag to -1 before calling mktime().  Otherwise, the current
451 timezone setting is used for the new date.
452
453 Members: 
454         coreutils/date.c:1.40->1.41 
455
456 ---------------------
457 PatchSet 3428 
458 Date: 2003/07/26 01:45:52
459 Author: andersen
460 Branch: HEAD
461 Tag: (none) 
462 Log:
463 Don't depend on CONFIG_LFS.  It is really a suggestion, not a requirement,
464 since fdisk will work just fine on smaller disks w/o it.
465
466 Members: 
467         util-linux/Config.in:1.6->1.7 
468
469 ---------------------
470 PatchSet 3429 
471 Date: 2003/07/26 07:24:25
472 Author: andersen
473 Branch: HEAD
474 Tag: (none) 
475 Log:
476 Patch from Thomas Gleixner to reap any zombie processes that are
477 reparented to init...
478
479 Members: 
480         init/init.c:1.190->1.191 
481
482 ---------------------
483 PatchSet 3430 
484 Date: 2003/07/26 08:41:56
485 Author: andersen
486 Branch: HEAD
487 Tag: (none) 
488 Log:
489 Rework kill / killall so it behaves itself, even when subjected
490 to abuse.
491  -Erik
492
493 Members: 
494         procps/kill.c:1.49->1.50 
495
496 ---------------------
497 PatchSet 3431 
498 Date: 2003/07/26 08:48:13
499 Author: andersen
500 Branch: HEAD
501 Tag: (none) 
502 Log:
503 Patch from Nick Fedchik to fixup paths in busybox/libpwdgrp
504 which were not properly using the bb_path_*_file strings.
505
506 Members: 
507         libpwdgrp/getgrgid.c:1.2->1.3 
508         libpwdgrp/getgrnam.c:1.2->1.3 
509         libpwdgrp/getpwnam.c:1.2->1.3 
510         libpwdgrp/getpwuid.c:1.4->1.5 
511         libpwdgrp/grent.c:1.2->1.3 
512         libpwdgrp/initgroups.c:1.4->1.5 
513         libpwdgrp/pwent.c:1.4->1.5 
514
515 ---------------------
516 PatchSet 3432 
517 Date: 2003/07/26 09:07:56
518 Author: andersen
519 Branch: HEAD
520 Tag: (none) 
521 Log:
522 Some additional description based on a patch from Terje Kvernes
523
524 Members: 
525         miscutils/Config.in:1.4->1.5 
526
527 ---------------------
528 PatchSet 3433 
529 Date: 2003/07/26 09:16:10
530 Author: andersen
531 Branch: HEAD
532 Tag: (none) 
533 Log:
534 Patch from Christian Meyer:
535
536     The client gives up way too soon because timeout is set to 0 ...
537     There's a solution for that problem.
538
539 Members: 
540         networking/tftp.c:1.18->1.19 
541
542 ---------------------
543 PatchSet 3434 
544 Date: 2003/07/26 09:20:46
545 Author: andersen
546 Branch: HEAD
547 Tag: (none) 
548 Log:
549 The logger utility does not really depend on CONFIG_SYSLOGD,
550 since it can also be used with other syslog daemons
551  -Erik
552
553 Members: 
554         sysklogd/Config.in:1.2->1.3 
555
556 ---------------------
557 PatchSet 3435 
558 Date: 2003/07/26 10:10:35
559 Author: andersen
560 Branch: HEAD
561 Tag: (none) 
562 Log:
563 cleanup and add long options
564
565 Members: 
566         debianutils/start_stop_daemon.c:1.8->1.9 
567         init/start_stop_daemon.c:1.8->1.9 
568
569 ---------------------
570 PatchSet 3436 
571 Date: 2003/07/26 10:16:00
572 Author: andersen
573 Branch: HEAD
574 Tag: (none) 
575 Log:
576 Move start_stop_daemon to debianutils.
577 Cleanup run_parts a bit and add long opts
578
579 Members: 
580         debianutils/Config.in:1.3->1.4 
581         debianutils/Makefile.in:1.2->1.3 
582         debianutils/run_parts.c:1.4->1.5 
583         init/Config.in:1.6->1.7 
584         init/Makefile.in:1.6->1.7 
585         init/start_stop_daemon.c:1.9->1.10(DEAD) 
586
587 ---------------------
588 PatchSet 3437 
589 Date: 2003/07/26 10:27:02
590 Author: andersen
591 Branch: HEAD
592 Tag: (none) 
593 Log:
594 Allow people to use the full blown iproute2 programs with busybox ifupdown.
595
596 Members: 
597         networking/Config.in:1.18->1.19 
598
599 ---------------------
600 PatchSet 3438 
601 Date: 2003/07/26 10:33:15
602 Author: andersen
603 Branch: HEAD
604 Tag: (none) 
605 Log:
606 There should be only one instance of CONFIG_FEATURE_AUTOWIDTH
607
608 Members: 
609         coreutils/Config.in:1.11->1.12 
610         util-linux/Config.in:1.7->1.8 
611
612 ---------------------
613 PatchSet 3439 
614 Date: 2003/07/28 07:35:32
615 Author: andersen
616 Branch: HEAD
617 Tag: (none) 
618 Log:
619 James Petterson writes:
620
621 I've found a possible bug in libbb/interface.c, in function
622 if_readlist_proc(). This function calls get_name(), and passes
623 as an argument 'name', a buffer of 16 bytes (IFNAMSIZ).  The
624 function get_name(), however, may use more than 16 bytes,
625 when it is searching for aliases. Even if you don't have an
626 alias interface, you can run into trouble if the interface
627 has received more than 99999999 bytes, in which case the
628 space between the interface name and the rx stats
629 disappears, as in the /proc/net/dev example below:
630  wan0.200:264573315  462080    ...
631 In this case get_name() correctly identifies the interface name
632 as "wan0.200", but to do that it uses 18 bytes of the 'name'
633 buffer, which could lead to an unpredictable error.
634
635 A simple solution would be to increase the size of the buffer:
636
637 Members: 
638         libbb/interface.c:1.17->1.18 
639
640 ---------------------
641 PatchSet 3440 
642 Date: 2003/07/28 07:42:59
643 Author: andersen
644 Branch: HEAD
645 Tag: (none) 
646 Log:
647 Add a "search google" button
648
649 Members: 
650         docs/busybox.net/index.html:1.123->1.124 
651
652 ---------------------
653 PatchSet 3441 
654 Date: 2003/07/28 08:40:34
655 Author: andersen
656 Branch: HEAD
657 Tag: (none) 
658 Log:
659 last_patch95 from vodz:
660
661 Hi.
662
663 Last patch have new libbb function
664 vfork_rexec() for can use daemon() to uClinux system.
665 This patched daemons: syslog, klogd, inetd, crond.
666 This not tested! I havn`t this systems.
667 Also. Previous patch for feature request MD5 crypt password for
668 httpd don`t sended to this mailist on 07/15/03
669 (mailist have Pytom module problem?).
670 The previous patch included, and have testing.
671
672
673 --w
674 vodz
675
676 Members: 
677         include/libbb.h:1.105->1.106 
678         libbb/Makefile.in:1.24->1.25 
679         libbb/vfork_daemon_rexec.c:INITIAL->1.1 
680         miscutils/Config.in:1.5->1.6 
681         miscutils/crond.c:1.4->1.5 
682         networking/Config.in:1.19->1.20 
683         networking/Makefile.in:1.16->1.17 
684         networking/httpd.c:1.10->1.11 
685         networking/inetd.c:1.4->1.5 
686         sysklogd/klogd.c:1.16->1.17 
687         sysklogd/syslogd.c:1.99->1.100 
688
689 ---------------------
690 PatchSet 3442 
691 Date: 2003/07/28 08:42:19
692 Author: andersen
693 Branch: HEAD
694 Tag: (none) 
695 Log:
696 last_patch98 from vodz:
697
698 Denis,
699
700 ># ./busybox env - echo zzz
701 >zzz
702 ># ./busybox echo -n zzz
703 >zzz
704 ># ./busybox env - echo -n zzz
705 >env: invalid option -- n
706 >
707 >       obviously, env tried to understand -n as env's option
708 >       instead of blindly passing it to echo...
709 >
710 >BusyBox v1.00-pre1 (2003.07.16-07:53+0000) multi-call binary
711 >
712 >Usage: env [-iu] [-] [name=value]... [command]
713
714 Ah, you found very old problem.
715 Last patch also have:
716
717 - multiple "-u unsetenv" support
718 - GNU long option support
719 - save errno after exec failed before bb_perror_msg()
720
721
722 --w
723 vodz
724
725 Members: 
726         coreutils/env.c:1.7->1.8 
727
728 ---------------------
729 PatchSet 3443 
730 Date: 2003/07/28 09:31:56
731 Author: andersen
732 Branch: HEAD
733 Tag: (none) 
734 Log:
735 Update docs a bit
736
737 Members: 
738         networking/Config.in:1.20->1.21 
739
740 ---------------------
741 PatchSet 3444 
742 Date: 2003/07/28 10:31:28
743 Author: andersen
744 Branch: HEAD
745 Tag: (none) 
746 Log:
747 Fixup bugs in last patch
748
749 Members: 
750         miscutils/crond.c:1.5->1.6 
751         networking/inetd.c:1.5->1.6 
752         sysklogd/klogd.c:1.17->1.18 
753
754 ---------------------
755 PatchSet 3445 
756 Date: 2003/07/28 10:37:56
757 Author: andersen
758 Branch: HEAD
759 Tag: (none) 
760 Log:
761 Avoid shadowing built-in function `log'
762
763 Members: 
764         miscutils/crond.c:1.6->1.7 
765
766 ---------------------
767 PatchSet 3446 
768 Date: 2003/07/28 10:56:34
769 Author: andersen
770 Branch: HEAD
771 Tag: (none) 
772 Log:
773 This is synced from dash-0.4.17 and full ready for insert to new busybox
774 version:
775 ftp://ftp.simtreas.ru/pub/my/bb/new
776
777 News:
778
779 - code is smalest!
780 - support ${var...} expr
781 - used new very strongly steal controlling terminal
782
783 Members: 
784         shell/ash.c:1.70->1.71 
785         shell/cmdedit.c:1.80->1.81 
786
787 ---------------------
788 PatchSet 3447 
789 Date: 2003/07/28 10:59:05
790 Author: andersen
791 Branch: HEAD
792 Tag: (none) 
793 Log:
794 Patch from vodz to update httpd usage
795
796 Members: 
797         include/usage.h:1.161->1.162 
798
799 ---------------------
800 PatchSet 3448 
801 Date: 2003/07/28 11:13:03
802 Author: andersen
803 Branch: HEAD
804 Tag: (none) 
805 Log:
806 A small update to the new docs.  Plenty more is needed...
807
808 Members: 
809         docs/busybox.sgml:1.49->1.50 
810
811 ---------------------
812 PatchSet 3449 
813 Date: 2003/07/28 11:34:38
814 Author: andersen
815 Branch: HEAD
816 Tag: (none) 
817 Log:
818 bump version to 1.0.0-pre2
819
820 Members: 
821         Rules.mak:1.18->1.19 
822
823 ---------------------
824 PatchSet 3450 
825 Date: 2003/07/29 07:33:12
826 Author: andersen
827 Branch: HEAD
828 Tag: (none) 
829 Log:
830 Yang Xiaopeng writes:
831
832 >I'm sure that no user process use old root now,  but when run "umount
833 >/old_root", it says:
834 >   umount: /old_root: Device or resource busy
835 >
836 >I have tried to remount /proc within the new root *after* chroot, but
837 >get the same result.
838 >
839 >
840 I found the problem, I said that no user process use old root when run
841 my scripts, but
842 I'm wrong, actually there is a '3' fd open the file
843 "/old_root/dev/console". By adding
844 debug message in init/init.c, I found the problem: when init restart(in
845 exec_signal()),
846 before open the new terminal device, there is still a file opened(I
847 don't know which file it is), so the
848 terminal device(stdin) get fd '1', and the first dup(0)(stdout) return
849 '2', the second(stderr) return '3'.
850
851 I attach a simple patch to solve this problem.
852
853 Members: 
854         init/init.c:1.191->1.192 
855
856 ---------------------
857 PatchSet 3451 
858 Date: 2003/07/29 07:38:40
859 Author: andersen
860 Branch: HEAD
861 Tag: (none) 
862 Log:
863 Vladimir N. Oleynik writes:
864
865 Last patch have synced form Manuel Nova III xxreadtoken() function,
866 corrected (C) form dash debian/copyright, removed my small mistake
867 with IFS_BROKEN (thanks by Herbert), and synced cmdedit.c from
868 current CVS (removed libc5 support, your email correction, my (C) year
869 corertion).
870
871 Members: 
872         shell/ash.c:1.71->1.72 
873         shell/cmdedit.c:1.81->1.82 
874
875 ---------------------
876 PatchSet 3452 
877 Date: 2003/07/29 08:05:35
878 Author: andersen
879 Branch: HEAD
880 Tag: (none) 
881 Log:
882 Bruno Randolf writes:
883
884 this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a
885 NULL terminated char* array, not just a string. 2) run_parts now explicitly
886 sets the environment. this environment is populated from the
887 /etc/network/interfaces config file and is needed by the scripts in
888 /etc/network/if-pre-up.d/. when run-parts is called from the command line the
889 environment is taken from the current process.
890
891
892 Vladimir Oleynik then wrote:
893
894 You can simplify this if use:
895
896 +       bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt);
897 +       buf[1] = NULL;
898 +
899 +       run_parts(&buf, 2, environ);
900 +       free(buf[0]);
901
902 --w
903 vodz
904
905 Members: 
906         debianutils/run_parts.c:1.5->1.6 
907         include/libbb.h:1.106->1.107 
908         libbb/run_parts.c:1.8->1.9 
909         networking/ifupdown.c:1.26->1.27 
910
911 ---------------------
912 PatchSet 3453 
913 Date: 2003/07/29 08:15:17
914 Author: andersen
915 Branch: HEAD
916 Tag: (none) 
917 Log:
918 Fixup typo noticed by Nick Fedchik
919
920 Members: 
921         shell/ash.c:1.72->1.73 
922
923 ---------------------
924 PatchSet 3454 
925 Date: 2003/07/29 08:37:39
926 Author: andersen
927 Branch: HEAD
928 Tag: (none) 
929 Log:
930 Match up interfaces
931
932 Members: 
933         networking/ifupdown.c:1.27->1.28 
934
935 ---------------------
936 PatchSet 3455 
937 Date: 2003/07/29 08:45:05
938 Author: andersen
939 Branch: HEAD
940 Tag: (none) 
941 Log:
942 Set libbb dead last in the link order
943
944 Members: 
945         Makefile:1.282->1.283 
946
947 ---------------------
948 PatchSet 3456 
949 Date: 2003/07/30 07:52:33
950 Author: andersen
951 Branch: HEAD
952 Tag: (none) 
953 Log:
954 Ronny L Nilsson writes:
955
956     If BusyBox was compiled with -DCONFIG_FEATURE_CLEAN_UP dmesg command
957     segfaults if invoked with the "-n" option. (Due to a free() of an
958     uninitialized pointer).
959
960 Members: 
961         util-linux/dmesg.c:1.30->1.31 
962
963 ---------------------
964 PatchSet 3457 
965 Date: 2003/07/30 07:56:07
966 Author: andersen
967 Branch: HEAD
968 Tag: (none) 
969 Log:
970 Ronny L Nilsson writes:
971
972 The login process should always timeout if user don't login sucessfully within
973 reasonable time. Otherwise we're sensetive to a DOS attack by simply doing a
974 bunch of simultaneous telnet connections (deploys all availible TTY's).
975
976 This patch make login.c terminate the connection after  "TIMEOUT" seconds.
977
978 Members: 
979         loginutils/login.c:1.11->1.12 
980
981 ---------------------
982 PatchSet 3458 
983 Date: 2003/07/30 08:16:39
984 Author: andersen
985 Branch: HEAD
986 Tag: (none) 
987 Log:
988 Christian Meyer provided this patch to fix more bugs with the tftp client
989
990 Members: 
991         networking/tftp.c:1.19->1.20 
992
993 ---------------------
994 PatchSet 3459 
995 Date: 2003/07/30 08:57:06
996 Author: andersen
997 Branch: HEAD
998 Tag: (none) 
999 Log:
1000 Vladimir N. Oleynik writes:
1001
1002     This moment have algoritmicaly problem, not overflow:
1003     strcat(wrapped, wrapped) - may be looped.
1004
1005     Hand patch:
1006
1007     - else if (strstr(strcat(wrapped, wrapped), newmono))
1008     + else {
1009     +    safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1);
1010     +    if (strstr(wrapped, newmono))
1011     +}
1012
1013     --w
1014     vodz
1015
1016 Members: 
1017         libbb/obscure.c:1.3->1.4 
1018
1019 ---------------------
1020 PatchSet 3460 
1021 Date: 2003/07/30 09:22:53
1022 Author: andersen
1023 Branch: HEAD
1024 Tag: (none) 
1025 Log:
1026 Eric Spakman writes:
1027
1028 The recent changes in ifupdown where all calls to 'ip link set' and
1029 'ip addr set' are swapped give some problems with v4tunnels.
1030 For plain ipv4 and ipv6 interfaces it works correct, other methods
1031 not tried. The patch below change the behaviour back for v4tunnels
1032 only.
1033
1034 Without the patch the following errors are shown:
1035 RTNETLINK answers: Network is down
1036 RTNETLINK answers: No route to host
1037 and the tunnel is not fully brought up
1038
1039 With this patch all works as expected.
1040
1041 Members: 
1042         networking/ifupdown.c:1.28->1.29 
1043
1044 ---------------------
1045 PatchSet 3461 
1046 Date: 2003/07/30 09:29:56
1047 Author: andersen
1048 Branch: HEAD
1049 Tag: (none) 
1050 Log:
1051 Do not require that the signal number be specified
1052
1053 Members: 
1054         debianutils/start_stop_daemon.c:1.9->1.10 
1055
1056 ---------------------
1057 PatchSet 3462 
1058 Date: 2003/07/30 09:40:37
1059 Author: andersen
1060 Branch: HEAD
1061 Tag: (none) 
1062 Log:
1063 last_patch100 from vodz updating fdisk to 2.12pre
1064
1065 Members: 
1066         util-linux/fdisk.c:1.7->1.8 
1067
1068 ---------------------
1069 PatchSet 3463 
1070 Date: 2003/07/30 09:55:59
1071 Author: andersen
1072 Branch: HEAD
1073 Tag: (none) 
1074 Log:
1075 Lars Ekman writes:
1076
1077 When using "losetup" the device is always setup as Read-Only.
1078
1079 (I have only tested with the -o flag, but looking at the code the
1080  problem seems general)
1081
1082 The problem is the "opt" variable in "losetup.c" that is reused in
1083 the "set_loop()" call. Clear it before the call and everything is OK;
1084
1085   opt = 0;         /* <-------- added line */
1086   if (delete)
1087     return del_loop (argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE;
1088   else
1089     return set_loop (argv[optind], argv[optind + 1], offset, &opt)
1090       ? EXIT_FAILURE : EXIT_SUCCESS;
1091 }
1092
1093 Best Regards,
1094 Lars Ekman
1095
1096 Members: 
1097         util-linux/losetup.c:1.2->1.3 
1098