Re: execve errno setting on MIPS

Previous thread: execve exit status on MIPS by Halesh S on Wednesday, September 17, 2008 - 9:33 pm. (2 messages)

Next thread: [PATCH]pci_dma_mapping_error changes by Marin Mitov on Wednesday, September 17, 2008 - 10:12 pm. (4 messages)
From: Halesh S
Date: Wednesday, September 17, 2008 - 10:34 pm

I will change the Subject line "execve exit status on MIPS" first.



My intenstion is not to overflow in string...
to
     strcpy(e2BIG[ind], "helloworl");

But intenstion is to generate E2BIG in
  if ((ret = execve(EXE_NAME,e2BIG,envList)) == -1) {

where e2BIG array has more number arguments than ARG_MAX.

Which was possible on ARM,PPC and i386....

For the same code...I got 14 EFAULT....


Thanks,
Halesh








--

Previous thread: execve exit status on MIPS by Halesh S on Wednesday, September 17, 2008 - 9:33 pm. (2 messages)

Next thread: [PATCH]pci_dma_mapping_error changes by Marin Mitov on Wednesday, September 17, 2008 - 10:12 pm. (4 messages)