> [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

          • ... Ángel
            • ... Dmitry Goncharov via Bug reports for the GNU Bourne Again SHell
              • ... Eli Schwartz
              • ... Dmitry Goncharov via Bug reports for the GNU Bourne Again SHell
              • ... Robert Elz
              • ... Chet Ramey
              • ... Robert Elz
              • ... Alex fxmbsw7 Ratchev
              • ... Ángel
              • ... Eli Schwartz
  • Re: Mislea... Andrea Monaco

Reply via email to