Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5444765imm; Wed, 12 Sep 2018 06:12:47 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda7vT/NZwlysm44FTeJCTqzeRWLC75pAog68wzrKUsmitxDmTl7N4uNYzUFrZD6YGDcUUn1 X-Received: by 2002:aa7:881a:: with SMTP id c26-v6mr2292970pfo.82.1536757967440; Wed, 12 Sep 2018 06:12:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536757967; cv=none; d=google.com; s=arc-20160816; b=xs0EJ9RW4uNGhjsSDMT0MfS810vGT7c4EgpDx2DogQkrlRMM+iUZSEBFnExs8P9lR0 8uPAO1Zuwk9Jc90yID+VvujtNYMy/PjPd7GuPwRpoGWYARsLlg4iT034DvZ77UUCWqh9 Es5adWxGbQYChf+qSohpg60ufrlUPlBkdh5/u5hIQCHFHA32U1XyDMoaNWKeKR6hdXc7 pIh7GMsHU965jv15CCnHOejMrQus/SJETC6X9isLZ2GycZ8hiD5+fkWX1v2qjBLW4Zv2 x4GXqCquCGKy80Tln2QBUO0Js+PzUpaMPG/GcnBTzeDu7ui3IPt53aFSZSqjon5HREec ZkEg== 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=eigUD4z08vEtG5HCaFA6oNuAPw2TREB2eXFKP0FfApQ=; b=R+OO7HV19jzVuJZYT+mhOlmJ9vc+J2JpV5nQapMyWXSU0FsH3v6vS6KlptFowk3dLa J1AZ7uKBESJAmhhoNxoDwd/yUzLLO3F5VjnuyA5dw/Ir+ru6+Wanam6giOWZisaulqvb w0ADVPyPaGUbXyGVGouI20AR5PEyvcM4wmd/zsRVgVQIk/BbpUSivWuzk4q9dYLcnMcg 8UyqIkOqjUj4dx0QzjCs3BwY5I4f+u+tXiXdF+dGh81Pgae/9XhHcPbUm3F575AceURJ ZcBl6IscMf4fGO6uOuQzGLTpKjiDJmQh3XrUs9IX7gaod/SvfHavpRqwsC3lXbML7yWF xUYQ== 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 x5-v6si901454plv.304.2018.09.12.06.12.29; Wed, 12 Sep 2018 06:12:47 -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 S1726932AbeILSQH (ORCPT + 99 others); Wed, 12 Sep 2018 14:16:07 -0400 Received: from foss.arm.com ([217.140.101.70]:59372 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbeILSQH (ORCPT ); Wed, 12 Sep 2018 14:16:07 -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 E4BB680D; Wed, 12 Sep 2018 06:11:39 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B63563F703; Wed, 12 Sep 2018 06:11:39 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 969131AE3231; Wed, 12 Sep 2018 14:11:56 +0100 (BST) Date: Wed, 12 Sep 2018 14:11:56 +0100 From: Will Deacon To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linux@dominikbrodowski.net, ebiederm@xmission.com, akpm@linux-foundation.org, viro@zeniv.linux.org.uk, oleg@redhat.com, steve.mcintyre@arm.com, dave.martin@arm.com, christian@brauner.io, ldv@altlinux.org Subject: Re: [RESEND PATCH 0/2] Don't use SIGMINSTKSZ when enforcing alternative signal stack size for compat tasks Message-ID: <20180912131156.GC29880@arm.com> References: <1536158083-30166-1-git-send-email-will.deacon@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1536158083-30166-1-git-send-email-will.deacon@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, [+ more people from get_maintainers.pl] On Wed, Sep 05, 2018 at 03:34:41PM +0100, Will Deacon wrote: > 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, Any comments on this, please? I'd really like to get this fixed, since Debian have an outstanding issue without these patches merged. I'm happy to take them via arm64, but would really like an Ack on the changes to signal.c first... Thanks, Will > Will Deacon (2): > signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack > arm64: compat: Provide definition for COMPAT_SIGMINSTKSZ > > arch/arm64/include/asm/compat.h | 1 + > include/linux/compat.h | 3 +++ > kernel/signal.c | 14 +++++++++----- > 3 files changed, 13 insertions(+), 5 deletions(-) > > -- > 2.1.4 >