Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5576834pxu; Tue, 22 Dec 2020 23:14:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRZx5+CdWO+IEfYeD901GSTV1pld3pgOW0q4HFFObf3hIyQLRvYIDO6Q88AbM8cEavUyxr X-Received: by 2002:a17:906:7215:: with SMTP id m21mr13256316ejk.248.1608707646093; Tue, 22 Dec 2020 23:14:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608707646; cv=none; d=google.com; s=arc-20160816; b=IY9A6MPZ+SwMx6rYUZ5HqxNgy7UJ/AC7Z+05kdQF2EVCWLVkOzZ3FPw/rzA6HHVrlw TAhvmzxuSeQqn0rC19x547MTnh07rJhBr0tTZVe/myOnd1hgQYi/fHAkMjTsMvh8efjC TbyskLL94K+NwULf5Fv4F5jlfXLn0WkSTLGe1LnZrKPeiqQSLgfJkapoqgD+bgxopPJi aERnzDGTZTOH3jbBCnLvI1tDVrZ6A5DaYsMAltw6DZuHJpTmN9v/iqEu0HRDGzfEcP6X tbP7uTJ26ALjeP57H9paTp7Bkre2vTcJlttUKCSGlr1fff/iEiBcF8m1so0u+LDRBkTU csVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pAETgwh46dRkDrpWSZXALiotVXgPOZWTk9X1uExJF6I=; b=I50/j5aBjTDi4/7s1dAnPtwVhFERImzK7cv1eqCsnuZ0cAikxzH+hcoLm94r1aIgnx SAgSGE7R9uEg3O4MmRLW7R6y0fraPKq3bG4mPfhq1NyCMmtPV+81O1Mq06G8YRFr4n6P /5OlgFiZQHrS33LHKIFdUgrIv88IgaupK4d2FCDFhLR1SgouM/E+MDk72I02AfQCyn46 VIg1EOSYE0XY2zEuNsmksPkjwbi7+DdmgrVCF+JNF+MCCj9f8FSwIWbsjqwR74eOsWNG /6w5ECJYkAVYBy9+lTFbz9VBfCM3wCpCeLu9SU4qU6AtXf9WXkfbk02KnskCpIHX00/F I2ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id me7si11883316ejb.11.2020.12.22.23.13.43; Tue, 22 Dec 2020 23:14:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727207AbgLWHM7 (ORCPT + 99 others); Wed, 23 Dec 2020 02:12:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726960AbgLWHM7 (ORCPT ); Wed, 23 Dec 2020 02:12:59 -0500 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB0E8C0613D3; Tue, 22 Dec 2020 23:12:18 -0800 (PST) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kryJh-003SSq-KZ; Wed, 23 Dec 2020 07:12:13 +0000 Date: Wed, 23 Dec 2020 07:12:13 +0000 From: Al Viro To: "Maciej W. Rozycki" Cc: Linus Torvalds , Thomas Bogendoerfer , Linux Kernel Mailing List , the arch/x86 maintainers , linux-mips@vger.kernel.org, Randy Dunlap , Denys Vlasenko Subject: Re: [PATCHSET] saner elf compat Message-ID: <20201223071213.GX3579531@ZenIV.linux.org.uk> References: <20201203214529.GB3579531@ZenIV.linux.org.uk> <20201203230336.GC3579531@ZenIV.linux.org.uk> <20201216030154.GL3579531@ZenIV.linux.org.uk> <20201223070320.GW3579531@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201223070320.GW3579531@ZenIV.linux.org.uk> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 23, 2020 at 07:03:20AM +0000, Al Viro wrote: Argh.... Wrong commit blamed - the parent of the correct one. It's actually 2aa362c49c31 ("coredump: extend core dump note section to contain file names of mapped files"). My apologies - fat-fingered cut'n'paste... siginfo commit does suffer the same problem, but it becomes an issue only for 32bit processes under mips64 big-endian kernel (there it yields e.g. zero .__sigfault.si_addr in $_siginfo when using gdb with a coredump of 32bit process, whatever the actual faulting address had been). And b-e mips64 is rather uncommon, so that's less of an issue.