From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757239Ab0CaTgu (ORCPT ); Wed, 31 Mar 2010 15:36:50 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:53054 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756719Ab0CaTgs (ORCPT ); Wed, 31 Mar 2010 15:36:48 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BRHnFWBKg8oLUAGDQ2ng9HRNddQ4PPgXTIO8FcpaatPs7BRCovjVr3/78cELRIeesL L28ZqVj2PV/xlXkVqYEj9aotQBsDfMtFP+TLH0KB1PHnjQc6KRppXRaEIrNKGvNJcKjT Fz86CChtTGnq41cHKQ0tA2hTAEAFmkm31xbJs= MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 31 Mar 2010 21:36:45 +0200 Message-ID: Subject: Re: execve() returns ENOENT when ld-linux.so isn't found From: Olaf van der Spek To: Andreas Schwab Cc: Ulrich Drepper , Luca Barbieri , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 29, 2010 at 6:00 PM, Andreas Schwab wrote: > Olaf van der Spek 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