Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751820AbaLUOhp (ORCPT ); Sun, 21 Dec 2014 09:37:45 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:55415 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047AbaLUOhn (ORCPT ); Sun, 21 Dec 2014 09:37:43 -0500 X-Auth-Info: eVOWLB/NZrso7o/xXqisVu4HZ57n2oVhpv07fwq5Xqmu5XYUGfvObOJfhctVOJon From: Andreas Schwab To: Geert Uytterhoeven Cc: David Drysdale , Shuah Khan , Andrew Morton , linux-api@vger.kernel.org, Linux/m68k , Linux Kernel Development Subject: Re: [PATCH selftest fails!] m68k: Wire up execveat References: X-Yow: Pardon me, but do you know what it means to be TRULY ONE with your BOOTH! Date: Sun, 21 Dec 2014 15:37:36 +0100 In-Reply-To: (Geert Uytterhoeven's message of "Sun, 21 Dec 2014 12:02:11 +0100 (CET)") Message-ID: <874msp3w7j.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Geert Uytterhoeven writes: > Check success of execveat(5, 'xxxxxxxxxxxxxxxxxxxx...yyyyyyyyyyyyyyyyyyyy', 0)... [FAIL] (child 792 exited with 126 not 127) POSIX says (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_02): If a command is not found, the exit status shall be 127. If the command name is found, but it is not an executable utility, the exit status shall be 126. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- 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/