Re: NOMMU: stack versus malloc?

2007-10-13 Thread Mike Frysinger
On Thursday 11 October 2007, Denys Vlasenko wrote: For example, lineedit.c currently eats 12k+ if stack. I can convert it into malloc use. Question: is it better or actually worse? Line editing is invoked repeatedly, and repeated malloc/free of random-sized

bzip2 in busybox

2007-10-13 Thread Denys Vlasenko
Hi Julian, I added bzip2 applet to busybox. See http://busybox.net/ for more info about busybox. In the process of adapting it, I found a few places where I can optimize it a bit. However, bigger optimizations came simply from declaring functions static, as recent gcc versions are using register

Re: Problem with httpd and POST data for cgi, and patch

2007-10-13 Thread Denys Vlasenko
On Friday 12 October 2007 17:57, Ralf Friedl wrote: Hi I just found out that my previous patch only works for POST data smaller that hdr_buf. This patch should also work for larger POST data. Thanks for the patch! --- networking/httpd.c +++ networking/httpd.c @@ -1051,6 +1051,10 @@

can not stop my auto running project

2007-10-13 Thread yin yinhai
HI: I am building my root filesystem, my develop environment is: montavista 2.6.10 kernel, busybox-1.5.1, NFS. If I run my project by manual, when it is running, I can use ctrl+c to stop it. But if I add commands in /etc/rc.d/rc.local to auto running project, now when I open the power of

Re: [patch] setsebool applet

2007-10-13 Thread Denys Vlasenko
On Wednesday 10 October 2007 00:58, Yuichi Nakamura wrote: Hi. This patch is support for setsebool applet. setsebool is to set boolean parameters of SELinux. It is useful to manage SELinux system. getsebool is included in BusyBox, but setsebool is not included yet. Please include this

Re: can not stop my auto running project

2007-10-13 Thread Denys Vlasenko
On Sunday 14 October 2007 05:16, yin yinhai wrote: HI: I am building my root filesystem, my develop environment is: montavista 2.6.10 kernel, busybox-1.5.1, NFS. If I run my project by manual, when it is running, I can use ctrl+c to stop it. But if I add commands in /etc/rc.d/rc.local