Re: [PATCH] Return ENOEXEC, not ENOENT, if a binary's or script'sinterpreter doesn't exist.

From: Alan Cox
Date: Thu Jul 30 2009 - 16:12:00 EST


> They then go and look at /usr/bin/foo, find that it exists, and are
> extremely confused.

-ENOEXEC is just as confusing. It is executable, it will match
(cmp/md5sum etc) with one on another box etc.

> More advanced users might at that point try and run "ldd" on the binary
> (which will also fail, thanks to a missing interpreter).

So fix ldd ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/