title: execve() failing to launch program in C
body: <p>I am trying to spawn a new process using <code>execve()</code> from <code>unistd.h</code> on Linux. I have tried passing it the following parameters <code>execve("/bin/ls", "/bin/ls", NULL);</code> but get no result. I do not get an error either, the program just exits. Is there a reason why this is happening? I have tried launching it as root and regular user. The reason I need to use <code>execve()</code> is because I am trying to get it to work in an assembly call like so</p>
  
  <pre><code>program: db "/bin/ls",0
  
  mov eax, 0xb
  mov ebx, program
  mov ecx, program
  mov edx, 0
  int 0x80
  </code></pre>
  
  <p>Thank you!</p>