Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp579037imm; Wed, 26 Sep 2018 03:39:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV62Piq5fgKID2Hs+74YIuxLYBCc9DvzBJ1o3BoX42tHl9yrggXdGH5DxflQ8SPH4BTAiVpSc X-Received: by 2002:a63:4443:: with SMTP id t3-v6mr5141527pgk.102.1537958363496; Wed, 26 Sep 2018 03:39:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537958363; cv=none; d=google.com; s=arc-20160816; b=r8Yn50s5wnY2SM+Wt7YeeXm4NISGvZdDUmdVvIzxvkoSYijNh6X1T0U3QT1fkW0vcT HFLSXgpgjVpTk80bCnXBaF+/ZQ0S2vrxUtwfMZNdOSmYXCVQL3vHalZTnecvMte3Vc/1 L8u6qMyv5DoRqNw5rpS5oGsG9W5Tm0qjqmc7NFFyUGubSe33/ouLOtjHQlRAJsHHRhrv OkAsFTHknhjQOgU2Eiih2l3cuI9X/4a0iESzyOnxs6SEEPKvJSegDHLtFF4BdkQgGk55 +D1XdEc8YCQi83MT3bJQhPw91hoPOBhSLsMLgFtSifFXp0V56mQjqN52x7JOf7NE1/ji Ft+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:user-agent :in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:dkim-signature; bh=c9b0vWjEeLyMN+ddqZVGWjMlHaC2kPOGOFIxy2/SngY=; b=ehh3mHwPWpuNySH0Ninym/BFEKKJRDQSZsji2HFzk/CtE9idcf5mmtkiKOpSbe1smB joIFx4Zv5HOIdH6D0SLlv38kXTDoDS7I0AoJR93Y/P9clNZS9zbqJhAADV8NWPaEYVwP 0iYgU8Tcikm9nvOhtO5qxXJKaZVSZ6lBejnnNzoRLKFUlkqWpV451MofqkupT/aBk9/F Sk40cT1QRO0eNrYulW2tNLRfANFTtwwteaH/4mdK3siKUq+Rb150K+jkVPMZpeu6Mz/9 SalecH2FFki6WlYHGqPBE8q/zsHWDJKDDBTQ+cp5KLKgiSLIRCCRRk9rjEouLDcdeaKL zSuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=BYtHtJ6o; 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 x23-v6si4809668pfk.25.2018.09.26.03.39.08; Wed, 26 Sep 2018 03:39:23 -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; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=BYtHtJ6o; 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 S1727484AbeIZQvJ (ORCPT + 99 others); Wed, 26 Sep 2018 12:51:09 -0400 Received: from mail-eopbgr40084.outbound.protection.outlook.com ([40.107.4.84]:50866 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727003AbeIZQvJ (ORCPT ); Wed, 26 Sep 2018 12:51:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c9b0vWjEeLyMN+ddqZVGWjMlHaC2kPOGOFIxy2/SngY=; b=BYtHtJ6ok2Jn/KxACvBKSBZtIbnZZgKFSgQ5ubIPZcslFg7taIXKQNduI7/8XGdymQgOHXr3/o/o55604U4TRy19lML8vuTNi5/jawZv/vtnQfAq9eClcsnuWhMFO/tVMP4STqFXWBMcs43R045cg0n5HwgN6K13f0TUKInAIXo= Received: from cheddar.halon.org.uk (93.93.131.118) by DB7PR08MB3500.eurprd08.prod.outlook.com (2603:10a6:10:49::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Wed, 26 Sep 2018 10:37:04 +0000 Received: from bsmtp by cheddar.halon.org.uk with local-bsmtp (Exim 4.89) (envelope-from ) id 1g57Bm-0001pw-55; Wed, 26 Sep 2018 11:37:02 +0100 Received: from stemci01 by c30-smcintyre.einval.org with local (Exim 4.89) (envelope-from ) id 1g57BU-0008Px-SU; Wed, 26 Sep 2018 11:36:44 +0100 Date: Wed, 26 Sep 2018 11:36:44 +0100 From: Steve McIntyre To: Will Deacon Cc: linux-kernel@vger.kernel.org, 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, dave.martin@arm.com Subject: Re: [RESEND PATCH 0/2] Don't use SIGMINSTKSZ when enforcing alternative signal stack size for compat tasks Message-ID: <20180926103627.b6kxzdmqqsj3545h@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> X-attached: none User-Agent: NeoMutt/20170113 (1.7.2) X-wibble: sender_address steve.mcintyre@arm.com X-Originating-IP: [93.93.131.118] X-ClientProxiedBy: CWLP265CA0047.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:11::35) To DB7PR08MB3500.eurprd08.prod.outlook.com (2603:10a6:10:49::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 81ff54b1-ab4d-4d65-04c5-08d6239bfff4 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB7PR08MB3500; X-Microsoft-Exchange-Diagnostics: 1;DB7PR08MB3500;3:1yU86AQYlsbVIXVFOosQGCnH5Knwm6rpvN46s14zPDAKlIC1Si3u91HkOfNJL0YHsj+woQAFYkHKPE9++A2Z2PxsUIKMr+wt4MjyPYsO0t0NROpOgzPRfDCLXSJBW8mcSw0SlfL2Falc7QWwv0Tqm+tSXP6hr6dAZv6e2imSjV9p5xkw5zZZe+f6ROJ6eyAOBXR6vITIPURIXJ+3VTPcPEUUalxM3x8PhMivUYf1tXGzIeb4gUNThd5oX39Is9dh;25:xCybhijCVSRcH6XsE13HZb2rbtgkPNt8i3GJDM4sJvtQghVdjUyNZM+wSh9tjm6kU2KNpkUP+MspVBoB3dZy+2pnmU1cwLr7WcBTxTQUd4ygHOqfVTCVWUt5auZt/tcRm+zjwC7sPUW7QYIpItr9Cih4DIxZP3UvERvga1tTTBYxO0NBmaTb5EQGk9Fccguq6u7or4i76zLWXzkye1xKIhkS922MiT8yVsG0P9wSUeqXTqNJosDLI1IjBmwcE0V9smXe/D5oglRG0V1A4/4MaJV79v6fzIfnBCKuFzCkFwyhK8Tj2hsgzr6D6FfbtTVVUVmKiNnheO9+IKGb5Lw/eA==;31:dEC6F0OKXgNpl08fGYOE8F0nPt1G5bk95Frnz0Y29JIiv6bDoPgmkP7X+jttHqiMBLOM0aqeX21LUbYmUlhw2NWM7nMtubacuUPePSDSSzdeMwlED0fIgYla/QRVHC6FWgPB6gj1jpjmDRxkv2uJ0wVJRogB3FgrZKFylueeeL1RXfMO5A1JWLCTZJO/veHD4eU75z3kkVfsRWR47iiDw4P5yx4m714Pah5YOXqIXZE= X-MS-TrafficTypeDiagnostic: DB7PR08MB3500: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=steve.mcintyre@arm.com; Content-Transfer-Encoding: quoted-printable X-Microsoft-Exchange-Diagnostics: 1;DB7PR08MB3500;20:Wlshx352YXOjFYxykAthL/SfAoX9ObTE3LNIzpCpP9i53TBUIoItMNHEJxzbNLU8d7dBVyLKwai3bcdKUnboBFcmw4dt8qA8ueQVwnWXNNPkEMiGmkkp1RoCFR6YiGR4LQ8i65SDgLypgVN3cx4PLVy9L9d4ezocr3IAuI93aCRY+B+gS3+Q9bI1XozP+Baf/tTF4PPQUjP4lNWfGa1qhcBGkJ6b0BP9kvh1U0kNXUPsDp2a4JJpY+BchG2YOu6sEVnKUMdkv0g4XskAnBGIUnv2qKiKgoCyfdhX62FU5bp2a6p/1QWq+JPfFvZJlteEruH18tElA1PzCsLm4E1sMi/ecNJfXrnihFlO2VTlAkGiFlyFIRbhc9w6uz3wNqhewi8lisB4ZVKGoiyLzkkl0S7hO2lBjMb/clNYAmt3+/qFneUviw/eP9sN38JGrJK78Z1Zp2zy8ccgZ02IfhUPgUlfH3uybJzNH+u2YISlAdZ9hLHBuzNhroBBLKmPm7WP;4:85NrVEpptD01LpUo+xEV1/EeyOuJKtzqTt22NwrANAniFDllLPYwTXN0iWp3duSHEOA3gtov6sk/2J5L1rpyfBPdHz9PWUkvyLL1spLFxIj4n6fGGKq/CX4DDdQ7v7oVHKQIcB8jV+mcEn6VclMRUd616T1qTkZcztfU1asUPSNJW1YY1jqfIHfxDAKOgIeBYeaaIkdBYwmCAlhLdjJXDHCdsMmAJjLnzc2MvkUV3i8PsxRV+hWl/h4NiLNzWNq/HT3hf1sZYkNO5CkWIOQdtMy82kHqeFEvNoF3OA9JM4Ku/g8AvhrNt1lCoGI1L6MDrOf7Vg7uLRBCljgy1AXovyxzZuSZyAIkwefBkNDsGRs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(258649278758335)(180628864354917); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(6055026)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991041);SRVR:DB7PR08MB3500;BCL:0;PCL:0;RULEID:;SRVR:DB7PR08MB3500; X-Forefront-PRVS: 08076ABC99 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(376002)(346002)(396003)(39860400002)(136003)(366004)(53754006)(40434004)(199004)(189003)(4326008)(6246003)(6862004)(86362001)(5024004)(217873002)(14444005)(9746002)(9786002)(36756003)(9306002)(8936002)(8676002)(8746002)(81166006)(81156014)(316002)(122856001)(6116002)(68736007)(1076002)(3846002)(23726003)(2906002)(446003)(476003)(486006)(11346002)(2616005)(229853002)(53936002)(47776003)(46656002)(66066001)(6306002)(50466002)(478600001)(966005)(105586002)(106356001)(97736004)(6636002)(69596002)(37006003)(83796002)(5660300001)(58126008)(305945005)(76176011)(7736002)(34290500001)(386003)(26005)(52116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR08MB3500;H:cheddar.halon.org.uk;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB7PR08MB3500;23:jGM084+6OXQxepKJlAy6wm8C7AANnw6dxY/IxD8A6?= =?us-ascii?Q?6XUJSqtjbeHAjTPa0imjDyWiW+PWQmAYx9mjwAfhsQ3xMCGi1m25c1H3Ula6?= =?us-ascii?Q?rbBryHI8L1Ualcx3rzD9npJKgRxHwX1Zg/+6Gl1v97sDlzE13SIjZDp959NB?= =?us-ascii?Q?414+ub3pO0hAdSBbfxuhSdAnNmnvOTyJ1b0OsOxWbVWX+Z+0X/fU3J6+i0Ji?= =?us-ascii?Q?hBAdwALryW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mOmeDXRpvIJXtK/QP5qyKYm+dP1wfnYMdlXFMT/8/npvn84NaDV3sJ5hTPwEfvhVJvkH0OmFAD0dLB/KNrUKnIW8upv7V70DLe/LN3NJ8rAqx9hnBeBz30BMt6NcZIM2r62PkdqeYrSNM0hc7pudeu4tXP6kvTiuw+AeX4NYoVPRgpNkdsVsZ+c35A==;5:/DUh6akiDvEI62kCMRPmro+aDCn6mLikh6h5601eRV1DqG/BdCnrcRlckn/L+bGm7E0OP5uIvN3wlcnFMVzLYZObRidrGUrhARpN+pTBTUUyqOjb3LXp3E1dRU6/VX8/Z0rvjfrwW38lGDi5Zt/xhYS68pZElav8sLxp710W3MQ=;7:++vTnv6Rh6e2Vp0TOKFcddtrQfbjPceanPdn7SUFgifqlD5m/JeEjFoDVUAoWPYf3+UX7gcAAkofaVEn8Zqd0hf8TaAFVRUCiROm/ZCdaQ8TnyoNC+zq0uzGY/Ygjzet+QW+UGGUUZQPzrFneZvsAOzW+gnTK+UWub+hSCIHMJySgwfhDabRz3lQPDVVSvNKnB+Ol7oUa2esTSnSS6KRd6xmEOqTqD+RX9U9L4InxNZqnfUrj/L4pII+5WRHVNZg SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 10:37:04.0276 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 81ff54b1-ab4d-4d65-04c5-08d6239bfff4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3500 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.h= tml > >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> -- Steve McIntyre steve.mcintyre@arm.com IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.