Re: execve() returns ENOENT when ld-linux.so isn't found

From: Ulrich Drepper
Date: Sat Mar 27 2010 - 08:05:46 EST


On Sat, Mar 27, 2010 at 04:50, Olaf van der Spek <olafvdspek@xxxxxxxxx> wrote:
> It didn't 'work' for me.

You still don't get it? No shell provides you with a correct error
message. There is quite some work involved (reading program header,
finding the interpreter entry, checking the file) to give a meaningful
error message. Changing the error code alone achieves nothing.


> What code would break?

At the very least the shells in Red Hat releases for many years.
--
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/