Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3737020imm; Mon, 1 Oct 2018 03:45:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV62o335ltTdM5aM12rLsN3KXjII2vxBaWFQQRH+Lq21TogeLbU3DJFF8Ou22/imn4Raqsekl X-Received: by 2002:a63:f:: with SMTP id 15-v6mr9767176pga.15.1538390711383; Mon, 01 Oct 2018 03:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538390711; cv=none; d=google.com; s=arc-20160816; b=N4LQIeObgYhvVWzb1W7gPnARFhzIBzdHtEyfP/7J/SXY33MBlMae8v2/SSHLPSPWKV UOhmB1dCaiZtSq5RS+9kAeCZGsAAVh411vY/uGRCsOxKBi+t8M/i3SJxAm6VyNlRZgOg 4Z5NKtCru2KRZA6H5aOKpOMdrGCQ06oQ0hTs9Vah1fv5sNKoqL5ExSPiCKkh2SDHxHhe C6sMOgUf6sHrxEBw+0jApK8hdqHn0W9mIaWDxS9+0jw03a5OfsEqQ1Y5fy3g2lDwokE7 +eF6KHBZMb7uJkFsvyPWpUZqKhRL/2FfZDSSTRFJbaYa1Ez+iy93Ai1hf1fko6StoZCV Rw5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1R3H8jcUGU06suARdghjlHpDi3Xc9DoqjawCZf+uiRw=; b=OcJgovkiRWJcDDH4JhsFxdehB+wj8yDDxEt44fc6yy9zUK7H9C7jY+ipB9WzI7ugTu XpdZF1vQGH6pzUtOxic0Nyn1t5QxsyzgOLJgyhpcdyB1EL41zIatfhFXpQiNU5od+sTQ eQNCXDs+EsC/WtRPjQFFTc03mqbhDZG2V/fl5oCPUNap/zCBECFAIfTGROYrbZnoDTgR 0nufsGh1MK91Amr8dTeLyRT4Ci14e+ipW6t/+1K6X2qKVbbeGh4DSqdIv7/wunXQQW1S DW/2Gav69M3qwa5dSuZA/jJOpdOdpeceg+lWwTQLK9ncV2/m+rLeF2HRYhsKSWRUagWQ pdxQ== 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 p61-v6si12802913plb.55.2018.10.01.03.44.56; Mon, 01 Oct 2018 03:45:11 -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 S1729074AbeJARUq (ORCPT + 99 others); Mon, 1 Oct 2018 13:20:46 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:46780 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728921AbeJARUq (ORCPT ); Mon, 1 Oct 2018 13:20:46 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EB59118A; Mon, 1 Oct 2018 03:43:35 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.Emea.Arm.com [10.4.12.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E99D33F5B3; Mon, 1 Oct 2018 03:43:33 -0700 (PDT) Date: Mon, 1 Oct 2018 11:43:31 +0100 From: Catalin Marinas To: Steve McIntyre <93sam@debian.org> Cc: Will Deacon , arnd@arndb.de, linux-kernel@vger.kernel.org, linux@dominikbrodowski.net, oleg@redhat.com, ebiederm@xmission.com, akpm@linux-foundation.org, dave.martin@arm.com, linux-arm-kernel@lists.infradead.org, viro@zeniv.linux.org.uk Subject: Re: [RESEND PATCH 0/2] Don't use SIGMINSTKSZ when enforcing alternative signal stack size for compat tasks Message-ID: <20181001104330.GC131162@arrakis.emea.arm.com> References: <1536158083-30166-1-git-send-email-will.deacon@arm.com> <20180926103627.b6kxzdmqqsj3545h@arm.com> <20180928131805.aunjzciyvaad7z5a@tack.einval.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180928131805.aunjzciyvaad7z5a@tack.einval.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 28, 2018 at 02:18:11PM +0100, Steve McIntyre wrote: > On Wed, Sep 05, 2018 at 03:34:41PM +0100, Will Deacon wrote: > >Hi all, > > > >This is a resend of: > > > > http://lists.infradead.org/pipermail/linux-arm-kernel/2018-July/593559.html > > > >now based on 4.19-rc2. > > > >The Debian folks have observed a failure in the 32-bit arm glibc testsuite > >when running under a 64-bit kernel. They tracked this down to sigaltstack(2) > >enforcing the alternative signal stack to be at least SIGMINSTKSZ bytes, > >which is higher for native arm64 tasks than compat 32-bit tasks. > > > >These patches resolve the issue by allowing an architecture to define > >COMPAT_SIGMINSTKSZ for compat tasks, which is then used by the sigaltstack > >checking code. > > > >Feedback welcome, > > Apologies for the delayed response here - conference travel etc . got > in the way... I've just tested and I can confirm that this patchset > fixes our reported bug (as in https://bugs.debian.org/904385). Thanks > Will! > > Tested-by: Steve McIntyre <93sam@debian.org> Thanks for confirming Steve. As there is no functional change for other architectures, I'll queue both patches through the arm64 tree. If anyone objects, please let me know before the merging window. -- Catalin