From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03A04C31E51 for ; Tue, 18 Jun 2019 12:57:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CE68720665 for ; Tue, 18 Jun 2019 12:57:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="NFww7+43" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728993AbfFRM5A (ORCPT ); Tue, 18 Jun 2019 08:57:00 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:48236 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725913AbfFRM5A (ORCPT ); Tue, 18 Jun 2019 08:57:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PYbrunDp8avnP39gEYH1AHS83LwzriBAbK/nP8h6WlU=; b=NFww7+43UaA1stlBZehQjCp02 Y7PtLUydx/okAC0L065bNSF4kxrjfybpYCytKhBCt/18SskmlAZk54VtmxcTdjaV6l1FMFthC5b0i g9LFyUYpap0oM0WUfvOC+uNl0RB8e9btq4wFuWLqtjMG8DydgEMXYlnpOjjh5PK3JwigOIcp8y1qA XFJOPsNh/gPO5nCfvM+zPvS4/0w5arjT21lzZ1nIwVKocPkNGOuTqKfPxDJTast1+Si3zME1zgiU5 V4a5T1WO4eAk1zwJCyZ9GHLBiN9Dqu3GL3wCSnYDNDs1SQpeh8dJAPay0ARexe8rwh5RbgmCRJM2l qYBjy0PXQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hdDdr-0002GP-Ll; Tue, 18 Jun 2019 12:55:16 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 15A3D209C8915; Tue, 18 Jun 2019 14:55:12 +0200 (CEST) Date: Tue, 18 Jun 2019 14:55:12 +0200 From: Peter Zijlstra To: Florian Weimer 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 Message-ID: <20190618125512.GJ3419@hirez.programming.kicks-ass.net> References: <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> <87ef3r9i2j.fsf@oldenburg2.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ef3r9i2j.fsf@oldenburg2.str.redhat.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 Tue, Jun 18, 2019 at 02:47:00PM +0200, Florian Weimer wrote: > * 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. URGH. > 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. How can the kernel be late to the party if all of this is spinning wheels without kernel support? From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH v7 22/27] binfmt_elf: Extract .note.gnu.property from an ELF file Date: Tue, 18 Jun 2019 14:55:12 +0200 Message-ID: <20190618125512.GJ3419@hirez.programming.kicks-ass.net> References: <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> <87ef3r9i2j.fsf@oldenburg2.str.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <87ef3r9i2j.fsf@oldenburg2.str.redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: Florian Weimer 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 , Nad List-Id: linux-api@vger.kernel.org On Tue, Jun 18, 2019 at 02:47:00PM +0200, Florian Weimer wrote: > * 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. URGH. > 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. How can the kernel be late to the party if all of this is spinning wheels without kernel support?