rcS shell?

Rob Landley rob at landley.net
Tue Dec 13 09:38:18 UTC 2005

On Tuesday 13 December 2005 02:29, Robin Chen wrote:
> <div style='background-color:'><P><BR>hi all,</P>

Oh dear, html email.

> <P>&nbsp;&nbsp;&nbsp;&nbsp; I think the bug is "execv" function.</P>
> <P>&nbsp;&nbsp;&nbsp;&nbsp; Execv function invoke '/etc/rc.d/rc.sysint',
> error message is "/etc/rc.d/rc.sysinit :Exec format error".</P>
> <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; At the same time if you replace execv
> function parameter into a ap path that is like "/bin/ap". The ap funtion is
> call shell script '/etc/rc.d/rc.sysinit'.It&nbsp;was runing fine. So it is
> no shell bug.</P>

Ok, having plowed through the HTML to read that, I still have no idea what 
you're talking about.

> <P>&nbsp;&nbsp;&nbsp; In the kernel source directory. ../fs/binfmt_elf.c
> and binfmt_script.c</P>
> <P>&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;think the execv funcion had no
> include&nbsp;binfmt_script function.right?&nbsp;</P>

One common bug is that if you have a windows-style \r on the end of your first 
line, Linux will try to exec a filename ending in \r.  Which probably isn't 
what you want.

> <P>&nbsp;&nbsp; <BR></P><BR><BR><BR>
> <DIV><FONT face="Courier New, Courier, Monospace" color=#0066ff>
> <DIV>

A compelling argument, indeed.

> <P><FONT face="Courier New, Courier, Monospace" color=#0066ff>Best
> Regard!</FONT></P>
> <P><FONT face="Courier New, Courier, Monospace"><EM>Robin
> Chen&nbsp;</EM></FONT></P>
> <P><FONT face="Times New Roman, Times, Serif" color=#000033
> size=3><EM>--</EM></FONT></P>
> <P>
> <P><EM><FONT face="Courier New"><FONT
> color=#0000ff></FONT></FONT></EM></P><EM><FONT face="Courier New"><A
> href="http://www.uli.com.tw/"></A></FONT></EM></P></DIV></FONT><EM><FONT
> face="Courier New"></FONT></EM></DIV>
> #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px;
> FONT-FAMILY: tahoma,sans-serif">
> <HR color=#a0c6e5 SIZE=1>

I think I'll stop here.

Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.

More information about the busybox mailing list