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

From: Ulrich Drepper
Date: Fri Mar 26 2010 - 17:16:22 EST


On Fri, Mar 26, 2010 at 14:06, Luca Barbieri <luca.barbieri@xxxxxxxxx> wrote:
>>> None of these perfectly fit, but EINVAL seems the closest.
>>
>> No. ÂENOENT is the right value.
>
> Not according to POSIX 2008, which does not explicitly specify this case.

That argumentation is bogus. You wrote yourself, this situation isn't
(and cannot) be described in POSIX. For such cases the any error
value is consistent with POSIX.


Again: any value is as good as any other. The existing value works
and changing it breaks existing code.
--
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/