Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5996802imb; Fri, 8 Mar 2019 07:08:22 -0800 (PST) X-Google-Smtp-Source: APXvYqyAAYchNdwKAsmf9f+7dN8s0VN4kyRfXebTWz7pwK14xenYDuEEyZTwqdlw7jnFk+ANDcfb X-Received: by 2002:a17:902:ab95:: with SMTP id f21mr19648018plr.188.1552057701936; Fri, 08 Mar 2019 07:08:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552057701; cv=none; d=google.com; s=arc-20160816; b=w9Lie0OpjHmitOIEB5YoKAB7tRXz/Y718V2DCMogLs9VoyWFRB7ebevmO8eWkZhykj IzSBfm5Bn4wNwGwMfBd2qtrm0/CLD+BxuhbKtSkL0GLfaRkrDrCNq/0PeWoj+TEqABua 19uHcaKsSRt/NpI5q66b8L8qysQ2lkyV98PDLrNZ/QR3o+8TPoLYJiRLpZAOHrpyjg7r cDH7hzTtSTNiY1K2mdq7rfjWbWfwfqk84UWTnffsL3hbKxjPjSE5R6Hah+Iemx30ICLv 2DQwCYHbpX4w+fffnpUzgARTRyVZ0mi2NmXxtLH3LLeFTp7/ZO8aekc8bSdv1NRBxNRy C5Cw== 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:dkim-signature; bh=olEWzuXwpqoUhfTLPOFTjNURzAp9xrKli2NLAnSgj9w=; b=0g7cxA6bVXgRHN2/A+gCRhyfICda42ebnut8EqJ1iZjIj6sI6glhwmEbV+khpXYHOY pnP2EjYZiRp7AhtRdcJ8YhZQtS7bsiyXNRkz7rto9Ualljx7Wky5jGB541V882jvH7Y0 ZWvlXl1UW9suLNMJil9/I2J8mANWkAsGS4Mh3UR6NiQxArzUQF3Mmt9mSae+AqjkbE2O i3FUmFp4z37dLmjSl0a6udUxJP04AGK//9tBnccV92DG36Zvo64sc6ewZr9IR+4Fxsc5 +DYg/NvsSXXA0un8mt9uyLyw9Wkg8ki4v2ARr07yrZiTPNhWHFqVd0J5hfKlTGwGSnhx nqaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=BWRBoNmj; 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 n79si7305353pfb.133.2019.03.08.07.08.05; Fri, 08 Mar 2019 07:08:21 -0800 (PST) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=BWRBoNmj; 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 S1726899AbfCHPHk (ORCPT + 99 others); Fri, 8 Mar 2019 10:07:40 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:46790 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfCHPHk (ORCPT ); Fri, 8 Mar 2019 10:07:40 -0500 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=olEWzuXwpqoUhfTLPOFTjNURzAp9xrKli2NLAnSgj9w=; b=BWRBoNmjrYZoCVrjx8dxgHGbV C25/0S+mlSVRLlLzmj+kKtr4WAnosmg4NpuVPpFJbXDUxnlj9+LP8iqbvyY8o+YVo4Cm8VSANLij+ +f/KPZuhAhZzUnrEb/9LpvFIP5p5Mo+YTyE/XEm0fCOK5pSA7F1ppzWNldxnNBNCnF4m96e+HeCEa NwDMbAcu2SLVqWF90d9EFG/0PkacE8o3WQ3oc3YhDt2M9FDqxzQxTkT9nh7nrHQZZIGYojjTR3CoQ 8sK1JmTfyFW+qQT/6sFvvJIAPS5JGQqCYnvN0wLDnPnLR257Wllo5bpRykRLDWjVnYa2PnM7EWSXr grS53/cig==; 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.90_1 #2 (Red Hat Linux)) id 1h2H5t-0008GC-Fi; Fri, 08 Mar 2019 15:07:29 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 00CFD202631D5; Fri, 8 Mar 2019 16:07:27 +0100 (CET) Date: Fri, 8 Mar 2019 16:07:27 +0100 From: Peter Zijlstra To: Josh Poimboeuf Cc: Linus Torvalds , Thomas Gleixner , Peter Anvin , Julien Thierry , Will Deacon , Andy Lutomirski , Ingo Molnar , Catalin Marinas , James Morse , valentin.schneider@arm.com, Brian Gerst , Andrew Lutomirski , Borislav Petkov , Denys Vlasenko , Linux List Kernel Mailing , Dmitry Vyukov , Steven Rostedt Subject: Re: [PATCH 18/20] objtool: Add UACCESS validation Message-ID: <20190308150727.GB32494@hirez.programming.kicks-ass.net> References: <20190307114511.870090179@infradead.org> <20190307115200.697533978@infradead.org> <20190307174135.GJ32477@hirez.programming.kicks-ass.net> <20190307184813.GL32477@hirez.programming.kicks-ass.net> <20190307190313.GA4572@worktop.programming.kicks-ass.net> <20190308150111.xciejdvvmphzlb3u@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190308150111.xciejdvvmphzlb3u@treble> 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 Fri, Mar 08, 2019 at 09:01:11AM -0600, Josh Poimboeuf wrote: > On Thu, Mar 07, 2019 at 08:03:13PM +0100, Peter Zijlstra wrote: > > Ah.. how about I feed objtool a text file with all these symbol names; > > and I have Makefile compose file that from fragments. > > > > Then only KASAN builds will have memset whitelisted, and any other build > > will still flag memset abuse. > > > > Now I only have to figure out how to make Makefile do something like > > that :-) > > Instead of adding all those additional moving parts, I would much rather > either: The problem went away. That is, the problematic part of KASAN just got removed in this merge window. Also; I just about had hpa's __memset_kasan implemented when I got that email.