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

From: Olaf van der Spek
Date: Wed Mar 31 2010 - 15:36:57 EST


On Mon, Mar 29, 2010 at 6:00 PM, Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
> Olaf van der Spek <olafvdspek@xxxxxxxxx> writes:
>
>> File not found is a very common error message with a pretty will
>> understood meaning.
>
> And perfectly applicable here (as you write yourself in the subject).

No, it's not. It does not apply to the argument of the function called.

>> Overloading another error code would avoid this confusion, especially
>> since it's far less used.
>
> Changing a well understood error number into a totally misleading one
> only increases confusion.

Why is it totally misleading? The proposed new one is actually very close.

Olaf
--
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/