www.usr.com/support/gpl/USR9108_release1.5.tar.gz
[bcm963xx.git] / userapps / opensource / busybox / Changelog
1 ---------------------
2 PatchSet 4347 
3 Date: 2004/08/16 10:29:28
4 Author: andersen
5 Branch: HEAD
6 Tag: busybox_1_00_rc3 
7 Log:
8 Prepare for release
9
10 Members: 
11         Changelog:1.294->1.295 
12         docs/busybox_header.pod:1.17->1.18 
13         docs/busybox.net/news.html:1.21->1.22 
14         docs/busybox.net/screenshot.html:1.11->1.12 
15
16 ---------------------
17 PatchSet 4348 
18 Date: 2004/08/18 17:57:16
19 Author: andersen
20 Branch: HEAD
21 Tag: (none) 
22 Log:
23 Fixup 'dc' usage
24
25 Members: 
26         include/usage.h:1.218->1.219 
27
28 ---------------------
29 PatchSet 4349 
30 Date: 2004/08/19 18:22:13
31 Author: andersen
32 Branch: HEAD
33 Tag: (none) 
34 Log:
35 Patch from Vladimir N. Oleynik:
36
37 On Wed Aug 18, 2004 at 06:52:57PM +0800, Matt Johnston wrote:
38 > I've come across some strange-seeming behaviour when running programs
39 > under Busybox (1.0.0-rc3) ash. If the child process sets stdin to be
40 > non-blocking and then exits, the parent ash will also exit. A quick strace
41 > shows that a subsequent read() from stdin returns EAGAIN (as would be
42 > expected):
43
44 Thanks!
45 Patch attached.
46
47
48 --w
49 vodz
50
51 Members: 
52         shell/ash.c:1.104->1.105 
53         shell/cmdedit.c:1.92->1.93 
54
55 ---------------------
56 PatchSet 4350 
57 Date: 2004/08/19 18:25:02
58 Author: andersen
59 Branch: HEAD
60 Tag: (none) 
61 Log:
62 Patch from Tito documenting the '-q' option
63
64 Members: 
65         include/usage.h:1.219->1.220 
66
67 ---------------------
68 PatchSet 4351 
69 Date: 2004/08/19 18:26:26
70 Author: andersen
71 Branch: HEAD
72 Tag: (none) 
73 Log:
74 Patch from Tito adding support for '-q'
75
76 Members: 
77         procps/kill.c:1.52->1.53 
78
79 ---------------------
80 PatchSet 4352 
81 Date: 2004/08/19 18:30:31
82 Author: andersen
83 Branch: HEAD
84 Tag: (none) 
85 Log:
86 Patch from Mike Castle to cleanup some modutils issues, in
87 particular making alias support work better.
88
89 Members: 
90         modutils/modprobe.c:1.39->1.40 
91
92 ---------------------
93 PatchSet 4353 
94 Date: 2004/08/19 19:15:06
95 Author: andersen
96 Branch: HEAD
97 Tag: (none) 
98 Log:
99 regularly update the status line display
100  -Erik
101
102 Members: 
103         editors/vi.c:1.37->1.38 
104
105 ---------------------
106 PatchSet 4354 
107 Date: 2004/08/19 19:17:30
108 Author: andersen
109 Branch: HEAD
110 Tag: (none) 
111 Log:
112 Patch from Rodney Radford adding x86_64 support.
113
114 Members: 
115         modutils/insmod.c:1.122->1.123 
116
117 ---------------------
118 PatchSet 4355 
119 Date: 2004/08/25 02:02:19
120 Author: bug1
121 Branch: HEAD
122 Tag: (none) 
123 Log:
124 Patch from Manousaridis Angelos to cleanup stale file descriptors, it was preventing unmounting an initial filesystem.
125
126 Members: 
127         loginutils/getty.c:1.13->1.14 
128         loginutils/login.c:1.19->1.20 
129
130 ---------------------
131 PatchSet 4356 
132 Date: 2004/08/26 21:45:21
133 Author: andersen
134 Branch: HEAD
135 Tag: (none) 
136 Log:
137 Felipe Kellermann writes:
138
139 Unfortunatelly I've not followed the last two or three weeks commits (new
140 semester started and so now I rarely have time to fix my personal bridge)
141 but tonight I synched my tree and immediately noticed a rather nasty bug!
142
143 [Using libbb/interface.c:1.24]
144 # grep eth0 /proc/net/dev | xargs
145 eth0:311708397 237346 1670 0 1789 1670 0 0 22580308 120297 0 0 0 102 0 0
146
147 # ifconfig eth0
148 eth0      Link encap:Ethernet  HWaddr 00:20:AF:7C:EA:B7
149           inet addr:10.0.0.1  Bcast:10.0.0.127  Mask:255.255.255.128
150           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
151           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
152           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
153           collisions:0 txqueuelen:1000
154           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
155           Interrupt:5 Base address:0x320
156
157
158 All values `ifconfig' is showing are `zeroed' -- I quickly looked at the
159 last commits I missed and noticed that there were a commit relating to
160 ifconfig, libbb/interface.c:1.23->1.24 (PatchSet 4338).
161
162 I've reversed the patch and now everything is working again.  I compared
163 the get_name's return values from the 1.23 and 1.24 and quickly noticed
164 that the new revision is leaving `p' right on the sep while the rev 1.23
165 was leaving it right on the starting of the values...
166
167 1-line, 1/3-minute patch attached  :-)
168
169 Members: 
170         libbb/interface.c:1.24->1.25 
171
172 ---------------------
173 PatchSet 4357 
174 Date: 2004/08/26 22:18:56
175 Author: andersen
176 Branch: HEAD
177 Tag: (none) 
178 Log:
179 Tito writes:
180
181 Hi,
182 I've spent the half night staring at the devilish  my_getpwuid and my_getgrgid functions
183 trying to find out a way to avoid actual and future potential buffer overflow problems
184 without breaking existing code.
185 Finally I've  found a not intrusive way to do this that surely doesn't break existing code
186 and fixes a couple of problems too.
187 The attached patch:
188 1) changes the behaviour of my_getpwuid and my_getgrgid to avoid potetntial buffer overflows
189 2) fixes all occurences of this function calls in tar.c , id.c , ls.c, whoami.c, logger.c, libbb.h.
190 3) The behaviour of tar, ls and  logger is unchanged.
191 4) The behavior of ps with somewhat longer usernames messing up output is fixed.
192 5) The only bigger change was the increasing of size of the buffers in id.c to avoid
193      false negatives (unknown user: xxxxxx) with usernames longer than 8 chars.
194      The value i used ( 32 chars ) was taken from the tar header ( see gname and uname).
195      Maybe this buffers can be reduced a bit  ( to 16 or whatever ), this is up to you.
196 6) The increase of size of the binary is not so dramatic:
197      size busybox
198        text    data     bss     dec     hex filename
199      239568    2300   36816  278684   4409c busybox
200     size busybox_fixed
201        text    data     bss     dec     hex filename
202      239616    2300   36816  278732   440cc busybox
203 7) The behaviour of whoami changed:
204     actually it  prints out an username cut down to the size of the buffer.
205     This could be fixed by increasing the size of the buffer as in id.c or
206     avoid the use of my_getpwuid and use getpwuid directly instead.
207     Maybe this colud be also remain unchanged......
208
209 Please apply if you think it is ok to do so.
210 The diff applies on today's cvs tarball (2004-08-25).
211 Thanks in advance,
212 Ciao,
213 Tito
214
215 Members: 
216         archival/tar.c:1.194->1.195 
217         coreutils/id.c:1.24->1.25 
218         coreutils/ls.c:1.110->1.111 
219         coreutils/whoami.c:1.21->1.22 
220         include/libbb.h:1.133->1.134 
221         libbb/my_getgrgid.c:1.7->1.8 
222         libbb/my_getpwuid.c:1.7->1.8 
223         libbb/procps.c:1.13->1.14 
224         sysklogd/logger.c:1.39->1.40 
225
226 ---------------------
227 PatchSet 4358 
228 Date: 2004/08/26 22:22:50
229 Author: andersen
230 Branch: HEAD
231 Tag: (none) 
232 Log:
233 Vladimir N. Oleynik writes:
234
235 Ming-Ching,
236
237 >>No. Here there are no mistakes.
238 >>You using POST metod.
239 >>For get data you should read from stdin CONTENT_LENGTH bytes.
240
241 >Hower as I posted a little while ago, there is indeed a bug
242 >in POST method if the CONTENT_LENGTH is bigger
243 >than sizeof(wbuf[128]). So if your CGI script is expecting to
244 >read the full CONTENT_LENGTH, it might block forever,
245 >because it will only transfer sizeof(wbuf) to the CGI.
246
247 Ok, Ok. I should find time to understand with a problem.
248 Try attached patch.
249
250
251 --w
252 vodz
253
254 Members: 
255         networking/httpd.c:1.26->1.27 
256
257 ---------------------
258 PatchSet 4359 
259 Date: 2004/08/26 22:26:26
260 Author: andersen
261 Branch: HEAD
262 Tag: (none) 
263 Log:
264 Save a line or two
265
266 Members: 
267         loginutils/getty.c:1.14->1.15 
268         loginutils/login.c:1.20->1.21 
269
270 ---------------------
271 PatchSet 4360 
272 Date: 2004/08/26 22:36:02
273 Author: andersen
274 Branch: HEAD
275 Tag: (none) 
276 Log:
277 Tito writes:
278
279 Hi,
280 I've fixed also the issue of whoami cutting down usernames.
281 This time I cannot send a diff because i don't know if my previous patches will be applied
282 or not, so I send in the whole file.
283 The changes I've made don't affect size but ensure that usernames of whatever lenght
284 are correctly displayed.
285 root@localhost:/dev/pts/3:/root/Desktop/busybox/coreutils# size whoami_orig.o
286    text    data     bss     dec     hex filename
287     102       0       0     102      66 whoami_orig.o
288 root@localhost:/dev/pts/3:/root/Desktop/busybox/coreutils# size whoami.o
289    text    data     bss     dec     hex filename
290      93       0       0      93      5d whoami.o
291
292 This should be applied even if the other patches aren't as this matches the behaviour of the  GNU whoami.
293
294 Thanks in advance,
295 Ciao,
296 Tito
297
298 Members: 
299         coreutils/whoami.c:1.22->1.23 
300
301 ---------------------
302 PatchSet 4361 
303 Date: 2004/08/26 23:01:34
304 Author: andersen
305 Branch: HEAD
306 Tag: (none) 
307 Log:
308 The login applet should always be setuid root
309
310 Members: 
311         include/applets.h:1.114->1.115 
312
313 ---------------------
314 PatchSet 4362 
315 Date: 2004/08/26 23:13:00
316 Author: andersen
317 Branch: HEAD
318 Tag: (none) 
319 Log:
320 Improve the setuid situation a bit, and make it more apparent
321 when people really ought to make busybox setuid root.
322  -Erik
323
324 Members: 
325         Makefile:1.296->1.297 
326         loginutils/Config.in:1.8->1.9 
327         miscutils/Config.in:1.18->1.19 
328
329 ---------------------
330 PatchSet 4363 
331 Date: 2004/08/26 23:15:29
332 Author: andersen
333 Branch: HEAD
334 Tag: (none) 
335 Log:
336 Togg writes:
337
338 Syslogd wont start if remote-logging is enabled and the connection to the
339 remote-log server is not possible on syslogd startup.
340
341 I found a patch somewhere which works like a charm. It uses sendto() which
342 seems more reliable for this issue.
343
344 Please see attached patch. Many people will be more happy with this included
345 I think.
346
347 Regards,
348 Togg
349
350 Members: 
351         sysklogd/syslogd.c:1.113->1.114 
352
353 ---------------------
354 PatchSet 4364 
355 Date: 2004/08/27 19:55:28
356 Author: andersen
357 Branch: HEAD
358 Tag: (none) 
359 Log:
360 Quiet a few warnings
361
362 Members: 
363         init/mesg.c:1.2->1.3 
364         shell/msh.c:1.20->1.21 
365
366 ---------------------
367 PatchSet 4365 
368 Date: 2004/08/28 00:43:05
369 Author: andersen
370 Branch: HEAD
371 Tag: (none) 
372 Log:
373 Fixup some warnings
374
375 Members: 
376         archival/bunzip2.c:1.19->1.20 
377         archival/libunarchive/decompress_bunzip2.c:1.13->1.14 
378         coreutils/uniq.c:1.21->1.22 
379         modutils/insmod.c:1.123->1.124 
380         networking/ipcalc.c:1.10->1.11 
381         util-linux/mkfs_minix.c:1.42->1.43 
382
383 ---------------------
384 PatchSet 4366 
385 Date: 2004/09/02 22:21:39
386 Author: andersen
387 Branch: HEAD
388 Tag: (none) 
389 Log:
390 Tito writes:
391
392 Hi Erik,
393 Hi to all,
394 This is part five of the my_get*id story.
395 I've tweaked a bit this two functions to make them more flexible,
396 but this changes will not affect existing code.
397 Now they work so:
398 1) my_getpwuid( char *user, uid_t uid, int bufsize)
399
400    if bufsize is > 0 char *user cannot be set to NULL
401                      on success username is written on static allocated buffer
402                      on failure uid as string is written to buffer and NULL is returned
403    if bufsize is = 0 char *user can be set to NULL
404                      on success username is returned
405                      on failure NULL is returned
406    if bufsize is < 0 char *user can be set to NULL
407                      on success username is returned
408                      on failure an error message is printed and the program exits
409
410   2) 1) my_getgrgid( char *group, uid_t uid, int bufsize)
411
412    if bufsize is > 0 char *group cannot be set to NULL
413                      on success groupname is written on static allocated buffer
414                      on failure gid as string is written to buffer and NULL is returned
415    if bufsize is = 0 char *group can be set to NULL
416                      on success groupname is returned
417                      on failure NULL is returned
418    if bufsize is < 0 char *group can be set to nULL
419                      on success groupname is returned
420                      on failure an error message is printed and the program exits
421
422 This changes were needed mainly for my new id applet.
423 It is somewhat bigger then the previous but matches the behaviour of GNU id
424 and is capable to handle usernames of whatever length.
425 BTW: at a first look it seems to me that it will integrate well (with just a few changes)
426 with the pending patch  in patches/id_groups_alias.patch.
427 The increase in size is balanced by the removal of my_getpwnamegid.c
428 from libbb as this was used only in previous id applet and by size optimizations
429 made possible in whoami.c and in passwd.c.
430 I know that we are in feature freeze but I think that i've tested it enough
431 (at least I hope so.......).
432
433 Members: 
434         coreutils/id.c:1.25->1.26 
435         coreutils/whoami.c:1.23->1.24 
436         include/libbb.h:1.134->1.135 
437         libbb/Makefile.in:1.36->1.37 
438         libbb/my_getgrgid.c:1.8->1.9 
439         libbb/my_getpwuid.c:1.8->1.9 
440         loginutils/passwd.c:1.7->1.8 
441
442 ---------------------
443 PatchSet 4367 
444 Date: 2004/09/02 22:22:16
445 Author: andersen
446 Branch: HEAD
447 Tag: (none) 
448 Log:
449 Tito writes:
450
451 The second patch contains:
452 1) a size optimization for adduser.c
453 2) removes a warning about an unused variable in syslogd.c if CONFIG_FEATURE_REMOTE_LOG is not set
454 3)cosmetic fixes for addgroup_full_usage and adduser_full_usage
455
456 Ciao,
457 Tito
458
459 Members: 
460         include/usage.h:1.220->1.221 
461         loginutils/adduser.c:1.10->1.11 
462         sysklogd/syslogd.c:1.114->1.115 
463
464 ---------------------
465 PatchSet 4368 
466 Date: 2004/09/02 23:03:24
467 Author: andersen
468 Branch: HEAD
469 Tag: (none) 
470 Log:
471 Based on patches from Mike Frysinger, add insmod support for
472 sparc and ia64 (itanium).
473
474 Also, reorganize the insmod architecture support code to be
475 alphasorted and less messy.
476
477 Update the readme to list current insmod arch support.
478
479 Members: 
480         README:1.35->1.36 
481         modutils/insmod.c:1.124->1.125 
482
483 ---------------------
484 PatchSet 4369 
485 Date: 2004/09/02 23:11:52
486 Author: andersen
487 Branch: HEAD
488 Tag: (none) 
489 Log:
490 No longer needed
491
492 Members: 
493         libbb/my_getpwnamegid.c:1.7->1.8(DEAD) 
494         patches/id_groups_alias.patch:1.1->1.2(DEAD) 
495
496 ---------------------
497 PatchSet 4370 
498 Date: 2004/09/02 23:13:10
499 Author: andersen
500 Branch: HEAD
501 Tag: (none) 
502 Log:
503 Jonas Holmberg from axis dot com writes:
504
505 This patch makes msh handle variable expansion within backticks more
506 correctly.
507
508 Current behaviour (wrong):
509 --------------------------
510
511 BusyBox v1.00-rc3 (2004.08.26-11:51+0000) Built-in shell (msh)
512 Enter 'help' for a list of built-in commands.
513
514 $ A='`echo hello`'
515 $ echo $A
516 `echo hello`
517 $ echo `echo $A`
518 hello
519 $
520
521
522 New behaviour (correct):
523 ------------------------
524
525 BusyBox v1.00-rc3 (2004.08.26-11:51+0000) Built-in shell (msh)
526 Enter 'help' for a list of built-in commands.
527
528 $ A='`echo hello`'
529 $ echo $A
530 `echo hello`
531 $ echo `echo $A`
532 `echo hello`
533 $
534
535 The current behaviour (wrong according to standards) was actually my
536 fault. msh handles backticks by executing a subshell (which makes it
537 work on MMU-less systems). Executing a subshell makes it hard to only
538 expand variables once in the parent. Therefore I export all variables
539 that will be expanded within the backticks and let the subshell handle
540 the expansion instead.
541
542 The bug was found while searching for security leaks in CGI-scripts.
543 Current behaviour of msh makes it easy to expand backticks by mistake
544 in $QUERY_STRING. I recommend appling the patch before release of bb
545 1.00.
546
547 /Jonas
548
549 Members: 
550         shell/msh.c:1.21->1.22 
551
552 ---------------------
553 PatchSet 4371 
554 Date: 2004/09/08 10:01:07
555 Author: andersen
556 Branch: HEAD
557 Tag: (none) 
558 Log:
559 Patrick Huesmann noticed BusyBox would not link when
560 CONFIG_FEATURE_COMMAND_EDITING was defined *and*
561 CONFIG_FEATURE_COMMAND_TAB_COMPLETION was undefined.
562
563 Vladimir N. Oleynik writes:
564
565 Its declare always, also if CONFIG_FEATURE_COMMAND_TAB_COMPLETION
566 undefined.
567 Patch to CVS version attached.
568
569 --w
570 vodz
571
572 Members: 
573         shell/ash.c:1.105->1.106 
574
575 ---------------------
576 PatchSet 4372 
577 Date: 2004/09/08 10:56:06
578 Author: andersen
579 Branch: HEAD
580 Tag: (none) 
581 Log:
582 Felipe Kellermann writes:
583
584 The Togg's sysklogd patch to use sendto() on remote logging is formatting
585 strangely (using `<' and '>' surrounding the `msg' string message).  This
586 is OK, but this is not the standard way of formatting this message.
587
588 So this patch does the following:
589
590 o Fix the formatting to the standard way.
591 o Uses `MAXLINE' when needed;
592 o Don't loop sending messages without a "sleeping time",
593   I'm now doing `now = 1', `now <<= 1';
594 o Don't die on `init_RemoteLog' when starting up (feature!)
595   We're now trying to connect every time we have an invalid fd;
596 o Removes one static uneeded variable.
597 o Removes two automatic uneeded variables.
598
599 Members: 
600         sysklogd/syslogd.c:1.115->1.116 
601
602 ---------------------
603 PatchSet 4373 
604 Date: 2004/09/08 20:13:05
605 Author: andersen
606 Branch: HEAD
607 Tag: (none) 
608 Log:
609 Fixup URL
610
611 Members: 
612         docs/busybox.net/cvs_write.html:1.9->1.10 
613
614 ---------------------
615 PatchSet 4374 
616 Date: 2004/09/14 13:59:44
617 Author: bug1
618 Branch: HEAD
619 Tag: (none) 
620 Log:
621 I have to assume both Avaks and LSILogic are deliberatly ignoring me.
622
623 Members: 
624         docs/busybox.net/shame.html:1.18->1.19 
625
626 ---------------------
627 PatchSet 4375 
628 Date: 2004/09/14 16:08:02
629 Author: bug1
630 Branch: HEAD
631 Tag: (none) 
632 Log:
633 Patch from tito to add argument checking.
634
635 Members: 
636         loginutils/addgroup.c:1.12->1.13 
637
638 ---------------------
639 PatchSet 4376 
640 Date: 2004/09/14 16:23:56
641 Author: bug1
642 Branch: HEAD
643 Tag: (none) 
644 Log:
645 Patch from Felipe Kellermann, adds missing applet usage options, removes usage
646 for options that are currently not implemented and fixes typos.
647
648 Members: 
649         include/usage.h:1.221->1.222 
650
651 ---------------------
652 PatchSet 4377 
653 Date: 2004/09/14 17:24:58
654 Author: bug1
655 Branch: HEAD
656 Tag: (none) 
657 Log:
658 Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few extra const's also.
659
660 Members: 
661         networking/ifupdown.c:1.50->1.51 
662         networking/telnet.c:1.43->1.44 
663         networking/telnetd.c:1.12->1.13 
664         networking/tftp.c:1.28->1.29 
665         util-linux/getopt.c:1.13->1.14 
666
667 ---------------------
668 PatchSet 4378 
669 Date: 2004/09/14 18:12:13
670 Author: bug1
671 Branch: HEAD
672 Tag: (none) 
673 Log:
674 Patch by Felipe Kellermann, fix a bug introduced in the last patch by adding a condition around the remote logging, also adds some comments.
675
676 Members: 
677         sysklogd/syslogd.c:1.116->1.117 
678
679 ---------------------
680 PatchSet 4379 
681 Date: 2004/09/14 18:56:52
682 Author: bug1
683 Branch: HEAD
684 Tag: (none) 
685 Log:
686 Apply patch from Felipe Kellermann to simlify logic of sort functions.
687 I reversed the result of the sort functions to make the big numbers go to the top.
688
689 Members: 
690         procps/top.c:1.12->1.13 
691
692 ---------------------
693 PatchSet 4380 
694 Date: 2004/09/14 19:14:00
695 Author: bug1
696 Branch: HEAD
697 Tag: (none) 
698 Log:
699 remove a cut/paste mistake, i better get some sleep.
700
701 Members: 
702         procps/top.c:1.13->1.14 
703
704 ---------------------
705 PatchSet 4381 
706 Date: 2004/09/15 02:05:23
707 Author: bug1
708 Branch: HEAD
709 Tag: (none) 
710 Log:
711 Patch by Felipe Kellermann, use the common escape handling function and remove some unused code.
712
713 Members: 
714         coreutils/printf.c:1.22->1.23 
715
716 ---------------------
717 PatchSet 4382 
718 Date: 2004/09/15 02:39:09
719 Author: bug1
720 Branch: HEAD
721 Tag: (none) 
722 Log:
723 Only write to shadow file is shadow passwords are enabled. Patch by magicfox modified by myself to retain check for shadow file access.
724
725 Members: 
726         loginutils/passwd.c:1.8->1.9 
727
728 ---------------------
729 PatchSet 4383 
730 Date: 2004/09/15 03:04:07
731 Author: bug1
732 Branch: HEAD
733 Tag: (none) 
734 Log:
735 Tito writes,
736 "This patch fixes all the bugs in id previously spotted by vodz and me.
737 The binary size increased a bit,  but now it should work as expected."
738
739 Members: 
740         coreutils/id.c:1.26->1.27 
741         include/libbb.h:1.135->1.136 
742         libbb/Makefile.in:1.37->1.38 
743         libbb/my_getgrgid.c:1.9->1.10 
744         libbb/my_getpwuid.c:1.9->1.10 
745         libbb/my_getug.c:INITIAL->1.1 
746
747 ---------------------
748 PatchSet 4384 
749 Date: 2004/09/15 03:24:32
750 Author: bug1
751 Branch: HEAD
752 Tag: (none) 
753 Log:
754 Add a missing brace, patch by Hideki IWAMOTO
755
756 Members: 
757         coreutils/stty.c:1.9->1.10 
758
759 ---------------------
760 PatchSet 4385 
761 Date: 2004/09/23 20:08:46
762 Author: andersen
763 Branch: HEAD
764 Tag: (none) 
765 Log:
766 Add some notes on how to make telnetd actually work
767
768 Members: 
769         networking/Config.in:1.28->1.29 
770
771 ---------------------
772 PatchSet 4386 
773 Date: 2004/09/24 01:25:39
774 Author: andersen
775 Branch: HEAD
776 Tag: (none) 
777 Log:
778 A bit of extra explanation regarding STANDALONE
779
780 Members: 
781         shell/Config.in:1.16->1.17 
782
783 ---------------------
784 PatchSet 4387 
785 Date: 2004/09/24 02:04:13
786 Author: bug1
787 Branch: HEAD
788 Tag: (none) 
789 Log:
790 Patch from David Daney to make the -i option work with -l.
791
792 Members: 
793         coreutils/ls.c:1.111->1.112 
794
795 ---------------------
796 PatchSet 4388 
797 Date: 2004/09/24 02:36:44
798 Author: bug1
799 Branch: HEAD
800 Tag: (none) 
801 Log:
802 Remove this error message at Vodz request, it was misleading.
803
804 Members: 
805         libbb/correct_password.c:1.4->1.5 
806
807 ---------------------
808 PatchSet 4389 
809 Date: 2004/09/24 09:09:44
810 Author: bug1
811 Branch: HEAD
812 Tag: (none) 
813 Log:
814 Fix a typo
815
816 Members: 
817         shell/Config.in:1.17->1.18 
818
819 ---------------------
820 PatchSet 4390 
821 Date: 2004/09/24 09:18:55
822 Author: bug1
823 Branch: HEAD
824 Tag: (none) 
825 Log:
826 Patch from Egor Duda
827 Attached patch prevents modprobe from trying to call 'insmod (null)'
828 whenever nonexistent module is either passed to modprobe via command
829 line or mentioned in modules.dep
830
831 this replaces cryptic error
832 sh: Syntax error: word unexpected (expecting ")")
833 with
834 modprobe: module some-module not found.
835
836 egor.
837
838 Members: 
839         modutils/modprobe.c:1.40->1.41 
840
841 ---------------------
842 PatchSet 4391 
843 Date: 2004/09/24 09:24:27
844 Author: bug1
845 Branch: HEAD
846 Tag: (none) 
847 Log:
848 Patch from Dmitry Zakharov to fix a bug triggered by freeswan's scripts.
849
850 Members: 
851         editors/awk.c:1.10->1.11 
852
853 ---------------------
854 PatchSet 4392 
855 Date: 2004/09/30 00:24:21
856 Author: bug1
857 Branch: HEAD
858 Tag: (none) 
859 Log:
860 Patch from William Barsse to fix a segfault when multiple files are specified.
861
862 Members: 
863         coreutils/tail.c:1.47->1.48 
864
865 ---------------------
866 PatchSet 4393 
867 Date: 2004/10/07 00:35:59
868 Author: andersen
869 Branch: HEAD
870 Tag: (none) 
871 Log:
872 Make it more apparent that archive creation is not supported
873
874 Members: 
875         archival/ar.c:1.49->1.50 
876
877 ---------------------
878 PatchSet 4394 
879 Date: 2004/10/08 07:21:58
880 Author: andersen
881 Branch: HEAD
882 Tag: (none) 
883 Log:
884 Patch from Michael Tokarev:
885
886 Scenario:
887
888   touch x -- creates plain file name `x'
889   mkdir x -- exits successefully
890
891 libbb/make_directory.c, bb_make_directory(), contains
892 the following code:
893
894         if (mkdir(path, 0777) < 0) {
895             /* If we failed for any other reason than the directory
896              * already exists, output a diagnostic and return -1.*/
897             if (errno != EEXIST) {
898                 fail_msg = "create";
899                 umask(mask);
900                 break;
901             }
902             /* Since the directory exists, don't attempt to change
903              * permissions if it was the full target.  Note that
904              * this is not an error conditon. */
905             if (!c) {
906                 umask(mask);
907                 return 0;
908             }
909         }
910
911 The assumption that EEXIST error is due to that the *directory*
912 already exists is wrong: any file type with that name will cause
913 this error to be returned.  Proper way IMHO will be is to stat()
914 the path and check whenever this is really a directory.  Below
915 (attached) is a patch to fix this issue.
916
917 Members: 
918         libbb/make_directory.c:1.15->1.16 
919
920 ---------------------
921 PatchSet 4395 
922 Date: 2004/10/08 07:45:08
923 Author: andersen
924 Branch: HEAD
925 Tag: (none) 
926 Log:
927 egor duda writes:
928
929 Hi!
930
931 I've created a patch to busybox' build system to allow building it in
932 separate tree in a manner similar to kbuild from kernel version 2.6.
933
934 That is, one runs command like
935 'make O=/build/some/where/for/specific/target/and/options'
936 and everything is built in this exact directory, provided that it exists.
937
938 I understand that applyingc such invasive changes during 'release
939 candidates' stage of development is at best unwise. So, i'm currently
940 asking for comments about this patch, starting from whether such thing
941 is needed at all to whether it coded properly.
942
943 'make check' should work now, and one make creates Makefile in build
944 directory, so one can run 'make' in build directory after that.
945
946 One possible caveat is that if we build in some directory other than
947 source one, the source directory should be 'distclean'ed first.
948
949 egor
950
951 Members: 
952         Makefile:1.297->1.298 
953         Rules.mak:1.37->1.38 
954         applets/Makefile:1.5->1.6 
955         applets/Makefile.in:1.5->1.6 
956         archival/Makefile:1.7->1.8 
957         archival/Makefile.in:1.5->1.6 
958         archival/libunarchive/Makefile:1.5->1.6 
959         archival/libunarchive/Makefile.in:1.23->1.24 
960         console-tools/Makefile:1.4->1.5 
961         console-tools/Makefile.in:1.5->1.6 
962         coreutils/Makefile:1.3->1.4 
963         coreutils/Makefile.in:1.9->1.10 
964         coreutils/libcoreutils/Makefile:1.3->1.4 
965         coreutils/libcoreutils/Makefile.in:1.3->1.4 
966         debianutils/Makefile:1.3->1.4 
967         debianutils/Makefile.in:1.5->1.6 
968         editors/Makefile:1.4->1.5 
969         editors/Makefile.in:1.5->1.6 
970         findutils/Makefile:1.4->1.5 
971         findutils/Makefile.in:1.4->1.5 
972         init/Makefile:1.5->1.6 
973         init/Makefile.in:1.9->1.10 
974         libbb/Makefile:1.10->1.11 
975         libbb/Makefile.in:1.38->1.39 
976         libpwdgrp/Makefile:1.3->1.4 
977         libpwdgrp/Makefile.in:1.4->1.5 
978         loginutils/Makefile:1.3->1.4 
979         loginutils/Makefile.in:1.8->1.9 
980         miscutils/Makefile:1.7->1.8 
981         miscutils/Makefile.in:1.12->1.13 
982         modutils/Makefile:1.4->1.5 
983         modutils/Makefile.in:1.3->1.4 
984         networking/Makefile:1.7->1.8 
985         networking/Makefile.in:1.19->1.20 
986         networking/libiproute/Makefile:1.3->1.4 
987         networking/libiproute/Makefile.in:1.6->1.7 
988         networking/udhcp/Makefile:1.3->1.4 
989         networking/udhcp/Makefile.in:1.10->1.11 
990         procps/Makefile:1.4->1.5 
991         procps/Makefile.in:1.6->1.7 
992         scripts/config/Makefile:1.4->1.5 
993         shell/Makefile:1.4->1.5 
994         shell/Makefile.in:1.3->1.4 
995         sysklogd/Makefile:1.5->1.6 
996         sysklogd/Makefile.in:1.3->1.4 
997         testsuite/runtest:1.8->1.9 
998         testsuite/du/du-h-works:1.1->1.2 
999         testsuite/du/du-k-works:1.1->1.2 
1000         testsuite/du/du-l-works:1.1->1.2 
1001         testsuite/du/du-m-works:1.1->1.2 
1002         testsuite/du/du-s-works:1.1->1.2 
1003         testsuite/du/du-works:1.1->1.2 
1004         testsuite/head/head-n-works:1.1->1.2 
1005         testsuite/head/head-works:1.1->1.2 
1006         testsuite/ls/ls-1-works:1.1->1.2 
1007         testsuite/ls/ls-h-works:1.1->1.2 
1008         testsuite/ls/ls-l-works:1.1->1.2 
1009         testsuite/ls/ls-s-works:1.1->1.2 
1010         testsuite/sort/sort-n-works:1.1->1.2 
1011         testsuite/sort/sort-r-works:1.1->1.2 
1012         testsuite/sort/sort-works:1.1->1.2 
1013         testsuite/tail/tail-n-works:1.1->1.2 
1014         testsuite/tail/tail-works:1.1->1.2 
1015         testsuite/xargs/xargs-works:1.1->1.2 
1016         util-linux/Makefile:1.6->1.7 
1017         util-linux/Makefile.in:1.8->1.9 
1018
1019 ---------------------
1020 PatchSet 4396 
1021 Date: 2004/10/08 07:58:30
1022 Author: andersen
1023 Branch: HEAD
1024 Tag: (none) 
1025 Log:
1026 As noticed by egor duda, current_menu is declared as 'extern struct menu
1027 *current_menu;' in scripts/config/lkc.h line 63, and this conflicts with
1028 static definition in mconf.c.
1029
1030 Members: 
1031         scripts/config/mconf.c:1.5->1.6 
1032
1033 ---------------------
1034 PatchSet 4397 
1035 Date: 2004/10/08 08:03:29
1036 Author: andersen
1037 Branch: HEAD
1038 Tag: (none) 
1039 Log:
1040 last_patch139.gz from Vladimir N. Oleynik:
1041
1042 >I also don't mean to disagree about leaving 30x status codes until after
1043 >1.0.  In fact, although redirecting http://host/dir to http://host/dir/
1044 >with a 301 is common practice (e.g. Apache, IIS), AFAIK it isn't
1045 >actually required (or mentioned) by the HTTP specs.
1046
1047 Ok.
1048 Attached patch have 302 and 408 implemented features.
1049
1050
1051 --w
1052 vodz
1053
1054 Members: 
1055         networking/httpd.c:1.27->1.28 
1056
1057 ---------------------
1058 PatchSet 4398 
1059 Date: 2004/10/08 08:07:40
1060 Author: andersen
1061 Branch: HEAD
1062 Tag: (none) 
1063 Log:
1064 Tito writes:
1065
1066 Hi to all,
1067 This patch contains just some fixes for some misleading
1068 comments in my_getpwuid.c and my_getug.c.
1069 The code is untouched so this patch will not
1070 cause troubles.
1071
1072 Please apply.
1073
1074 Thanks in advance and Ciao,
1075 Tito
1076
1077 Members: 
1078         libbb/my_getpwuid.c:1.10->1.11 
1079         libbb/my_getug.c:1.1->1.2 
1080
1081 ---------------------
1082 PatchSet 4399 
1083 Date: 2004/10/08 08:10:57
1084 Author: andersen
1085 Branch: HEAD
1086 Tag: (none) 
1087 Log:
1088 Hiroshi Ito writes:
1089
1090     Hello
1091
1092     I'm using busy box on mipsel machine.
1093
1094     "grep -f file" will cause segmentation fault.
1095
1096 Vladimir N. Oleynik writes:
1097
1098 Hiroshi,
1099
1100 Thank for bug report, but your patch is full broken.
1101 Worked patch attached.
1102 (really changes is zero initialize, and indent correcting).
1103
1104
1105 --w
1106 vodz
1107
1108 Members: 
1109         findutils/grep.c:1.85->1.86 
1110
1111 ---------------------
1112 PatchSet 4400 
1113 Date: 2004/10/08 08:14:58
1114 Author: andersen
1115 Branch: HEAD
1116 Tag: (none) 
1117 Log:
1118 Hiroshi Ito writes:
1119
1120 ash
1121    "unset OLDPWD; cd -"  causes segmentation fault.
1122     ( OLDPWD is not set when sh is invoked from getty. )
1123
1124 patch against current CVS is attached.
1125
1126 Members: 
1127         shell/ash.c:1.106->1.107 
1128
1129 ---------------------
1130 PatchSet 4401 
1131 Date: 2004/10/08 08:17:39
1132 Author: andersen
1133 Branch: HEAD
1134 Tag: (none) 
1135 Log:
1136 Hiroshi Ito writes:
1137
1138 "kill -HUP 1" reloads inittab, and when I append one line to inittab
1139 and send HUP signal two times, It will starts 2 process.
1140
1141 patch against current CVS is attached.
1142
1143 Members: 
1144         init/init.c:1.204->1.205 
1145
1146 ---------------------
1147 PatchSet 4402 
1148 Date: 2004/10/08 08:21:54
1149 Author: andersen
1150 Branch: HEAD
1151 Tag: (none) 
1152 Log:
1153 Hiroshi Ito writes:
1154
1155 Hello, all.
1156
1157 Busybox init does not handle removed inittab entry correctly.
1158
1159 # I'm sorry about my poor english, but you can find
1160 # what I would like to say from patch, isn't it?
1161
1162 even if you apply this path,
1163 when yoy try to change a command line option in inittab,
1164 you have to do following steps.
1165 1. remove old line from initrd
1166 2. send HUP signal to init
1167 3. kill old proces which is invoked from init.
1168 4. append new line to inittab
1169 5. send HUP signal to init, again
1170
1171 patch is against current CVS + last patch witch I send it last.
1172
1173 Members: 
1174         init/init.c:1.205->1.206 
1175
1176 ---------------------
1177 PatchSet 4403 
1178 Date: 2004/10/08 08:27:40
1179 Author: andersen
1180 Branch: HEAD
1181 Tag: (none) 
1182 Log:
1183 Patch from Denis Vlasenko to fix a problem where
1184 wget http://1.2.3.4/abc/ loses last '/'
1185
1186 Members: 
1187         networking/wget.c:1.74->1.75 
1188
1189 ---------------------
1190 PatchSet 4404 
1191 Date: 2004/10/08 08:49:25
1192 Author: andersen
1193 Branch: HEAD
1194 Tag: (none) 
1195 Log:
1196 Wade Berrier writes:
1197
1198 Hello,
1199
1200 Here's a patch for a first attempt at static leases for udhcpd.
1201 Included in the tarball are 2 files (static_leases.c, static_leases.h)
1202 and a patch against the latest cvs.
1203
1204 In the config file you can configure static leases with the following
1205 format:
1206
1207 static_lease 00:60:08:11:CE:4E 192.168.0.54
1208 static_lease 00:60:08:11:CE:3E 192.168.0.44
1209
1210 Comments/suggestions/improvements are welcome.
1211
1212
1213 Wade
1214
1215 Members: 
1216         examples/udhcp/udhcpd.conf:1.3->1.4 
1217         networking/udhcp/Makefile.in:1.11->1.12 
1218         networking/udhcp/dhcpd.c:1.6->1.7 
1219         networking/udhcp/dhcpd.h:1.6->1.7 
1220         networking/udhcp/files.c:1.14->1.15 
1221         networking/udhcp/leases.c:1.6->1.7 
1222         networking/udhcp/serverpacket.c:1.6->1.7 
1223         networking/udhcp/static_leases.c:INITIAL->1.1 
1224         networking/udhcp/static_leases.h:INITIAL->1.1 
1225
1226 ---------------------
1227 PatchSet 4405 
1228 Date: 2004/10/08 08:57:35
1229 Author: andersen
1230 Branch: HEAD
1231 Tag: (none) 
1232 Log:
1233 Patch from Claus Klein to increase, and make more apparent
1234 the hard coded limit on the number of mounts
1235
1236 Members: 
1237         libbb/mtab.c:1.5->1.6 
1238
1239 ---------------------
1240 PatchSet 4406 
1241 Date: 2004/10/08 09:43:34
1242 Author: andersen
1243 Branch: HEAD
1244 Tag: (none) 
1245 Log:
1246 Fix CONFIG_ASH_MATH_SUPPORT_64 so it actually works
1247
1248 Members: 
1249         shell/ash.c:1.107->1.108 
1250
1251 ---------------------
1252 PatchSet 4407 
1253 Date: 2004/10/08 10:50:08
1254 Author: andersen
1255 Branch: HEAD
1256 Tag: (none) 
1257 Log:
1258 Add an initial FAQ
1259
1260 Members: 
1261         docs/busybox.net/FAQ.html:INITIAL->1.1 
1262         docs/busybox.net/header.html:1.8->1.9 
1263
1264 ---------------------
1265 PatchSet 4408 
1266 Date: 2004/10/08 10:52:08
1267 Author: andersen
1268 Branch: HEAD
1269 Tag: (none) 
1270 Log:
1271 Fix the supported architectures section
1272
1273 Members: 
1274         README:1.36->1.37 
1275
1276 ---------------------
1277 PatchSet 4409 
1278 Date: 2004/10/08 10:52:33
1279 Author: andersen
1280 Branch: HEAD
1281 Tag: (none) 
1282 Log:
1283 Bump version
1284
1285 Members: 
1286         Rules.mak:1.38->1.39 
1287
1288 ---------------------
1289 PatchSet 4410 
1290 Date: 2004/10/08 10:54:20
1291 Author: andersen
1292 Branch: HEAD
1293 Tag: (none) 
1294 Log:
1295 unmerged fix
1296
1297 Members: 
1298         docs/busybox.net/news.html:1.22->1.23 
1299
1300 ---------------------
1301 PatchSet 4411 
1302 Date: 2004/10/08 11:11:02
1303 Author: andersen
1304 Branch: HEAD
1305 Tag: (none) 
1306 Log:
1307 oops
1308
1309 Members: 
1310         docs/busybox.net/FAQ.html:1.1->1.2 
1311
1312 ---------------------
1313 PatchSet 4412 
1314 Date: 2004/10/11 20:52:16
1315 Author: andersen
1316 Branch: HEAD
1317 Tag: (none) 
1318 Log:
1319 Patch from David Daney:
1320
1321 It seems that date  -s MMDDHHMMYYYY.ss
1322
1323 will ignore the .ss part.  This patch tries to fix the problem.
1324
1325 David Daney.
1326
1327 Members: 
1328         coreutils/date.c:1.47->1.48 
1329
1330 ---------------------
1331 PatchSet 4413 
1332 Date: 2004/10/13 06:25:51
1333 Author: andersen
1334 Branch: HEAD
1335 Tag: (none) 
1336 Log:
1337 Make certain clients of bb_make_directory default to honoring
1338 the user's umask
1339
1340 Members: 
1341         archival/libunarchive/data_extract_all.c:1.20->1.21 
1342         libbb/make_directory.c:1.16->1.17 
1343         miscutils/devfsd.c:1.9->1.10 
1344
1345 ---------------------
1346 PatchSet 4414 
1347 Date: 2004/10/13 07:18:05
1348 Author: andersen
1349 Branch: HEAD
1350 Tag: (none) 
1351 Log:
1352 Simon Poole writes:
1353
1354 Erik,
1355
1356 Attached is a patch for the udhcpc sample scripts, to correct the order in
1357 which routers are applied if the DHCP server provides more than one (as per
1358 section 3.5 of RFC2132).
1359
1360 Apologies for not being on the mailing list and thanks for your continued
1361 efforts.
1362
1363 Simon.
1364
1365 Members: 
1366         examples/udhcp/sample.bound:1.1->1.2 
1367         examples/udhcp/sample.renew:1.1->1.2 
1368         examples/udhcp/simple.script:1.1->1.2 
1369
1370 ---------------------
1371 PatchSet 4415 
1372 Date: 2004/10/13 07:25:01
1373 Author: andersen
1374 Branch: HEAD
1375 Tag: (none) 
1376 Log:
1377 return failure when nslookup fails
1378
1379 Members: 
1380         networking/nslookup.c:1.32->1.33 
1381