Re: top running in background: bug or intended behaviour

2008-03-19 Thread Cristian Ionescu-Idbohrn
On Tue, 18 Mar 2008, Cristian Ionescu-Idbohrn wrote: Please consider this test script: I seem to get the behaviour I expect using the attached script, after apllying the attached patch. Cheers, -- CristianIndex: procps/top.c

[PATCH RESEND] check user and group names for illegal chars in adduser and addgroup

2008-03-19 Thread Tito
Hi, Denis maybe this patch slipped through, so i'm resending it to know your opinion about it. Ciao, TIto Hi, this patch adds the new function xcheck_name() void xcheck_name(const char *name) { int i = 0; do { if (!isalnum(*name) !(*name ==

Re: fork and vfork status

2008-03-19 Thread Aleksey Demakov
On Tue, Mar 18, 2008 at 7:15 AM, Denys Vlasenko [EMAIL PROTECTED] wrote: Is there anything left to be converted? Perhaps I will be able to contribute something. For instance, from your link it looks like ifupdown is not converted yet. Well, yea, that one needs fixing. Looks like

top running in background: bug or intended behaviour

2008-03-19 Thread Cristian Ionescu-Idbohrn
Please consider this test script: --- #!/bin/bash n=5 cmd=top -b -d 1 -n $n (date +%T;echo $cmd;$cmd /dev/null; date +%T) wait echo cmd=./busybox top -b -d 1 -n $n (date +%T;echo $cmd;$cmd /dev/null; date +%T) wait --- Produces following results: 13:37:31 top -b -d 1 -n 5 13:37:35

verizon settles over busybox infringement

2008-03-19 Thread Paul Fox
in case anyone missed it on slashdot, verizon has settled the suit that rob and erik brought against them for GPL infringement on a router they were distributing (based on busybox). http://www.informationweek.com/news/showArticle.jhtml?articleID=206904096subSection=News since i'm guessing either

TFTPD: patch++

2008-03-19 Thread dronnikov
Hello, Denys! + WRQ logic is sanitized. Now we can put new file, or change the content of existing file (but only if existing file has 222 access)! N.B. Previous patch allowed for invalid file truncation. + Added 3 options to TFTP: -v be verbose -- it used to be uncontrollably _way_ verbose when

Re: networking/brctl.c: error: duplicate inline

2008-03-19 Thread Denys Vlasenko
On Monday 10 March 2008 22:17, Cristian Ionescu-Idbohrn wrote: GNU C version 3.3.6 (Debian 1:3.3.6-15) (i486-linux-gnu) says: networking/brctl.c:39: error: duplicate `inline' networking/brctl.c:52: error: duplicate `inline' line: static inline ALWAYS_INLINE void

Re: TFTPD: proposal

2008-03-19 Thread Denys Vlasenko
Hi Vladimir, AT LAST my ISP managed to turn on cable in my flat. Sadly, I may move again rather soon... :( but at least for 2 weeks I should be connected. I must apologize - I knew that you have your own tftpd implementation in the wings, but I had no easy way to sync up. I know that this may

Re: verizon settles over busybox infringement

2008-03-19 Thread Erik Andersen
On Mon Mar 17, 2008 at 07:01:47PM -0400, Paul Fox wrote: in case anyone missed it on slashdot, verizon has settled the suit that rob and erik brought against them for GPL infringement on a router they were distributing (based on busybox).

Re: fork and vfork status

2008-03-19 Thread Denys Vlasenko
On Wednesday 19 March 2008 14:10, Aleksey Demakov wrote: On Tue, Mar 18, 2008 at 7:15 AM, Denys Vlasenko [EMAIL PROTECTED] wrote: Is there anything left to be converted? Perhaps I will be able to contribute something. For instance, from your link it looks like ifupdown is not

Re: patch applet, file access rights.

2008-03-19 Thread Denys Vlasenko
On Tuesday 11 March 2008 15:23, George Boudreau wrote: Hi, I recently encountered a situation where a patch was applied to a bash script using the busybox patch applet. The patched script failed to execute since its rights had changed from 755 to 644. (my umask 022). The included patch

TFTPD: proposal

2008-03-19 Thread dronnikov
Hello! + Added 3 options to TFTP: -v be verbose -- it used to be uncontrollably _way_ verbose when compiled with DEBUG feature. -n N set retry counter -- it used to be hardcoded arbitrary value. -t MS set timeout -- it used to be pure arbitrary value which caused failures even while using

Re: TFTPD: multiple bugs

2008-03-19 Thread Denys Vlasenko
On Monday 17 March 2008 17:39, [EMAIL PROTECTED] wrote: Hello, Denys! TFTPD is buggy for now: 1. It swallows first 512 bytes when serving a file, i.e. recved file is missing first 512 bytes. 2. It fails to serve file at all when using blksize negotiation. 3. It fails to put files

Re: Fwd: [EMAIL PROTECTED]

2008-03-19 Thread Denys Vlasenko
On Monday 17 March 2008 14:16, Thorsten Hirsch wrote: My problem is solved! Somehow /dev/null was no longer a device, but a file. It contained some binary and some text lines like term signal received, shutting down and so on. So it seems as if it has been created when I did a shutdown -r.

TFTPD: patch

2008-03-19 Thread dronnikov
Hello, Denys! Patch to sanitize WRQ logic. Now we can put new file, or change the content of existing file (but only if existing file has 222 access)! -- Vladimir tftpd.patch Description: Binary data ___ busybox mailing list busybox@busybox.net

Re: verizon settles over busybox infringement

2008-03-19 Thread Robert P. J. Day
On Wed, 19 Mar 2008, Erik Andersen wrote: On Mon Mar 17, 2008 at 07:01:47PM -0400, Paul Fox wrote: in case anyone missed it on slashdot, verizon has settled the suit that rob and erik brought against them for GPL infringement on a router they were distributing (based on busybox).

Re: init.c problem

2008-03-19 Thread Pavel Samek
Yes, it works! Thanks. Pavel Denys Vlasenko napsal(a): On Wednesday 12 March 2008 17:43, Pavel Samek wrote: Hi! I have the following problem. Situation: - etherboot loads kernel - kernel has IP auto configuration enabled (ip=dhcp), no initrd - rootfs is on nfs, succesfuly mounted -

Re: verizon settles over busybox infringement

2008-03-19 Thread Denys Vlasenko
On Wednesday 19 March 2008 19:24, Robert P. J. Day wrote: On Wed, 19 Mar 2008, Erik Andersen wrote: On Mon Mar 17, 2008 at 07:01:47PM -0400, Paul Fox wrote: in case anyone missed it on slashdot, verizon has settled the suit that rob and erik brought against them for GPL infringement on

TFTPD: multiple bugs

2008-03-19 Thread dronnikov
Hello, Denys! TFTPD is buggy for now: 1. It swallows first 512 bytes when serving a file, i.e. recved file is missing first 512 bytes. 2. It fails to serve file at all when using blksize negotiation. 3. It fails to put files either. -- Vladimir ___

Re: verizon settles over busybox infringement

2008-03-19 Thread Bruno Cornec
Robert P. J. Day said on Wed, Mar 19, 2008 at 02:24:46PM -0400: that's depressing. is it too early to start drinking heavily? No. I made recently our Open Source Governance presentation to some french ministeries and corporate accounts, and they realized they may have indeed holes in their

Re: [PATCH RESEND] check user and group names for illegal chars in adduser and addgroup

2008-03-19 Thread Denys Vlasenko
On Tuesday 18 March 2008 08:33, Tito wrote: Hi, Denis maybe this patch slipped through, so i'm resending it to know your opinion about it. Ciao, TIto Hi, this patch adds the new function xcheck_name() void xcheck_name(const char *name) { int i = 0; do {