On Wed, Mar 24, 2010 at 11:45 PM, <drepper@gmail.com> wrote:
That sounds closer to the actual error than ENOENT.
ENOENT: The file filename or a script or ELF interpreter does not
exist, or a shared library needed for file or interpreter cannot be
found.
ENOEXEC: An executable is not in a recognized format, is for the wrong
architecture, or has some other format error that means it cannot be
executed.
ENOENT shouldn't be overloaded like this, as it's common meaning is:
file not found. So it shouldn't be returned if the argument to execve
is actually found.
Olaf
--