[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2cc26e41003290740i5c548cabgc95d91958cd1075a@mail.gmail.com>
Date: Mon, 29 Mar 2010 16:40:36 +0200
From: Olaf van der Spek <olafvdspek@...il.com>
To: Ulrich Drepper <drepper@...il.com>
Cc: Luca Barbieri <luca.barbieri@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: execve() returns ENOENT when ld-linux.so isn't found
On Sat, Mar 27, 2010 at 1:05 PM, Ulrich Drepper <drepper@...il.com> wrote:
> On Sat, Mar 27, 2010 at 04:50, Olaf van der Spek <olafvdspek@...il.com> 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.
File not found is a very common error message with a pretty will
understood meaning. Overloading it in this way causes confusion.
Overloading another error code would avoid this confusion, especially
since it's far less used.
Olaf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists