> [ENOENT] A component of path or file does not name an existing file > or path or file is an empty string.
Then ENOENT is clearly not an appropriate error in this case. > [EINVAL] The new process image file has appropriate privileges and > has a recognized executable binary format, but the system does not > support execution of a file with this format. I think the most fitting is EINVAL, as Robert said. Did someone tell the Linux kernel people, so they can fix this? Otherwise I will. Andrea Monaco