lkml.org 
[lkml]   [2010]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: execve() returns ENOENT when ld-linux.so isn't found
On Fri, Mar 26, 2010 at 14:06, Luca Barbieri <luca.barbieri@gmail.com> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-03-26 22:19    [W:0.085 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site