Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3734061ybi; Tue, 18 Jun 2019 05:47:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbIaoJn+8QiILmJoj47UhtlTgDr1LhHGml/SuFRWmgJ+ML2nqHT2QmXqiFbDvKWrrmjY5v X-Received: by 2002:a62:ed09:: with SMTP id u9mr4690280pfh.23.1560862064817; Tue, 18 Jun 2019 05:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560862064; cv=none; d=google.com; s=arc-20160816; b=ddmDwO4uXESroIqfJyMGtSHGwN8UOT8AKmEepS2fTxpbSzexj4TfdnqBgfq80RGQWV F5CVgu+HQq/R2ddSV/l5hPvQfE1oJE0d2ztYejhP6/e7lXkf4xJDKKOZCHgxJFz3wuSW TF/10ukTv3j4i9Y9AhapyZ5D0secU/kSoXjTUqsjmXP//w9pXg96mY0KycQpEL5IY3KB xdX+GPDWd1xmVjDZEGTmUdMhMUhlxIT20WDzdIn0CLW1Y+7yXDOvxk82ylhkiiyZWw+W qxxs2UAWwkNqsapTncGxGrfLR0L9dEjeNd8rl4Vy9pOY+2UEPqrPVTd8eGrD1vygsySp UWsw== 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=opsNft9+oEt1EVUpsOi8KCqXxyz7DtkrAZDDZb/KD/8=; b=Nu/4CRGJpadHx1+hXhQyujMhK24vkvn0CKiGRzE8vHcLdBdRk7xVL2qRbDzJ8ixiqG +rN9S3BgnH+hTP/Xczjumxbg4YJ5Y/JDJ0aZyRVDn8OOQEZvJIm1KX+n++CK3+8iNw1G yNCE1oP3Y7s5mJk8b8o+SMxHMg5iR4pY6jgHsjYw4xxtOJXk655fHGp2W4v7VCtmB0nD Er/g/aBYKhI+SrEOiQM3F15z2wSoiWQzM050zTeCVLenRInyzprlOvsqk2Thj6xfsMpP pHxgjKn1Gw8Or7ElOC9E/QxCZXSgQnA1o6b+A5JafFuHSxPI+KveWa8m4n9SBeoUn5Pp jv1A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32si12982881plc.152.2019.06.18.05.47.29; Tue, 18 Jun 2019 05:47:44 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726739AbfFRMrS (ORCPT + 99 others); Tue, 18 Jun 2019 08:47:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63683 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725913AbfFRMrS (ORCPT ); Tue, 18 Jun 2019 08:47:18 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 468E8C05B1CA; Tue, 18 Jun 2019 12:47:17 +0000 (UTC) Received: from oldenburg2.str.redhat.com (dhcp-192-180.str.redhat.com [10.33.192.180]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CFB6F36FA; Tue, 18 Jun 2019 12:47:01 +0000 (UTC) From: Florian Weimer To: Peter Zijlstra Cc: Dave Martin , Thomas Gleixner , Yu-cheng Yu , x86@kernel.org, "H. Peter Anvin" , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue Subject: Re: [PATCH v7 22/27] binfmt_elf: Extract .note.gnu.property from an ELF file References: <20190606200646.3951-23-yu-cheng.yu@intel.com> <20190607180115.GJ28398@e103592.cambridge.arm.com> <94b9c55b3b874825fda485af40ab2a6bc3dad171.camel@intel.com> <87lfy9cq04.fsf@oldenburg2.str.redhat.com> <20190611114109.GN28398@e103592.cambridge.arm.com> <031bc55d8dcdcf4f031e6ff27c33fd52c61d33a5.camel@intel.com> <20190612093238.GQ28398@e103592.cambridge.arm.com> <87imt4jwpt.fsf@oldenburg2.str.redhat.com> <20190618091248.GB2790@e103592.cambridge.arm.com> <20190618124122.GH3419@hirez.programming.kicks-ass.net> Date: Tue, 18 Jun 2019 14:47:00 +0200 In-Reply-To: <20190618124122.GH3419@hirez.programming.kicks-ass.net> (Peter Zijlstra's message of "Tue, 18 Jun 2019 14:41:22 +0200") Message-ID: <87ef3r9i2j.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 18 Jun 2019 12:47:17 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra: > I'm not sure I read Thomas' comment like that. In my reading keeping the > PT_NOTE fallback is exactly one of those 'fly workarounds'. By not > supporting PT_NOTE only the 'fine' people already shit^Hpping this out > of tree are affected, and we don't have to care about them at all. Just to be clear here: There was an ABI document that required PT_NOTE parsing. The Linux kernel does *not* define the x86-64 ABI, it only implements it. The authoritative source should be the ABI document. In this particularly case, so far anyone implementing this ABI extension tried to provide value by changing it, sometimes successfully. Which makes me wonder why we even bother to mainatain ABI documentation. The kernel is just very late to the party. Thanks, Florian