Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4931124yba; Mon, 13 May 2019 02:15:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPzMPJFR9+VHS1Mabp5IouPM5IsK5deXHyPH0LJWanSUCj4nmbiwN3nERIOn3WHONcu4dI X-Received: by 2002:a62:82c1:: with SMTP id w184mr972589pfd.171.1557738902362; Mon, 13 May 2019 02:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557738902; cv=none; d=google.com; s=arc-20160816; b=Bo/wiNk7vm7UFjZKjnHh+B8r+J50LszzK5KZZGWJesNKgg1pHguHzcWSo475VMOQpG q9hxHyfuDPXVw+SNtkW7V2lU7XZruaAbY2lncBWqd6fDI4c7LlJwbWs0o5xynYNWmfHG 9ZW1ULRtnVYbB+CL9U6kvQ4tRzk16h8Kgl9/7U9qfRMiWGxRYNLJdMJXdYQ0QnOuz5XW mFaKfWlNjiRhpanfOE69aY7WhNYIdwQOsWP2JSQCyt+6Tnt+0C7FjQX+Hyszddp6Jwxl qJLmcMhDaJcirTo6x0NP/Iwm6kkOOFTBhyysnytTUFWk9gdCQKQk+O40aa2O1hhfMU9g mXbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=GCIqEEs44vV0OVYcyPC40p0R7tZaO2DTBagg5zDhYNc=; b=RNGqLFD3aj24NFRChosM6uDUwywiG/LSnh0uvMQ51tLY114c+IXeKXY41mysXhFS2g iqLpsT7Nk+wmGtslig2r5NccnK7quH1L6EhtHA33qTLkFYZl+6sSNmdNwgUeko09X1cW AcDATIgLR7UIM+noZ/5HvQ9UrubChn7k4j+prAGcAkuGIyklCGQv/kiepJZRiNyxrnQX k03D3W1U7B4ntomPmCtozAKpVeumkA1ZuQCwviWy9Y1tCORMhhTwkoLFJ3iXn6g7mn05 DxFQqlH/Ns+O5hDAcuDX7ffqcPaxOCSTtkNmUiuHO34jIvBnrGWamlRYINiro4uv9HPo BoYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 187si17938205pfe.116.2019.05.13.02.14.46; Mon, 13 May 2019 02:15:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728326AbfEMIsz (ORCPT + 99 others); Mon, 13 May 2019 04:48:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:52088 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726103AbfEMIsy (ORCPT ); Mon, 13 May 2019 04:48:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E4E2BAECD; Mon, 13 May 2019 08:48:51 +0000 (UTC) From: Andreas Schwab To: Yury Norov Cc: Yury Norov , Catalin Marinas , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Adam Borowski , Alexander Graf , Alexey Klimov , Andrew Pinski , Bamvor Zhangjian , Chris Metcalf , Christoph Muellner , Dave Martin , "David S . Miller" , Florian Weimer , Geert Uytterhoeven , Heiko Carstens , James Hogan , James Morse , Joseph Myers , Lin Yongting , Manuel Montezelo , Mark Brown , Martin Schwidefsky , Maxim Kuvyrkov , Nathan_Lynch , Philipp Tomsich , Prasun Kapoor , Ramana Radhakrishnan , Steve Ellcey , Szabolcs Nagy Subject: Re: [PATCH v9 00/24] ILP32 for ARM64 References: <20180516081910.10067-1-ynorov@caviumnetworks.com> <20190508225900.GA14091@yury-thinkpad> X-Yow: Is this ANYWHERE, USA? Date: Mon, 13 May 2019 10:48:48 +0200 In-Reply-To: <20190508225900.GA14091@yury-thinkpad> (Yury Norov's message of "Wed, 8 May 2019 15:59:00 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a problem with the stack size accounting during execve when there is no stack limit: $ ulimit -s 8192 $ ./hello.ilp32 Hello World! $ ulimit -s unlimited $ ./hello.ilp32 Segmentation fault $ strace ./hello.ilp32 execve("./hello.ilp32", ["./hello.ilp32"], 0xfffff10548f0 /* 77 vars */) = -1 ENOMEM (Cannot allocate memory) +++ killed by SIGSEGV +++ Segmentation fault (core dumped) Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."