Messages in this thread | | | From | Ulrich Drepper <> | Date | Fri, 26 Mar 2010 14:15:55 -0700 | Subject | Re: 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/
| |