Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4191916imm; Fri, 18 May 2018 00:30:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpN507iMHITmR89/4eL77zvHNd33PfSb9f3yxDdf1FubUX8mxTWwlN/vqH5lw7stVsXwJu7 X-Received: by 2002:a65:53c9:: with SMTP id z9-v6mr6567089pgr.356.1526628635415; Fri, 18 May 2018 00:30:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526628635; cv=none; d=google.com; s=arc-20160816; b=qdUxOjgiOSrBOgNNuUaIgKoue3oD8VVkG3+FufZwYJeb8PCVOHO829YllLd02nFCsW rUB1F6tkWwBTBm2417KHx2A2YFcQuJQM5TFALtE1Pwb+F19157LApPV5Fwfr0ixbsC7p H/R9AmbwxxjZg3kCf4xsUBxMmYxGYHiiDOHBLmOzu82WwlzwQXYLGALRMr7zDsXDQB6V WO/p9YKn+JLEXiU0RZqxpEj1q0sHDgxG7hMiE5n5ysW9/oNKsLTX2Zf1inmqbYXRT7lZ rao40oldxiiJjHC2pz9SmOIbfldZ0EttvLgxUbvgAXNAvudh5+TcUe2NfESnLKDdnjFC cbqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=nSLBWKaeVhybna9xZxvwd5h6V9+rEjHZ/Sfw4ofaXh8=; b=tB8CNgJR0bbze5YKRdy5nc6waO/Vu6+RzCSRc/VMI4buvcpWZHbQVTFbu08kcqcR8x KR0FRoajhbt9r6ZfOk2vGWmXb27gED1o/wJuoQqPembBCAD+AAruQ0rRl33cEENClqSm iBIxVkbHgUHEl0WvzRXrVawX4bwqvbFr9XP6Albv+rJiJkDIeKjFtmfvaFTk2oAIA1l1 Fhi5p41cZs7+h1365+LXL7RTzwnOabshpfdxTlE5Gq2lYddvnDW2kNmmd6SxbRUQzimK GE8xZwfGhXO8PGp4XqWqt7xkNuqBYsUIs7OcVuJwufWxp3x2O+rWUNVohqCHk5/StcC3 xDFQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si1294044pgf.682.2018.05.18.00.30.21; Fri, 18 May 2018 00:30:35 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752191AbeERH2c (ORCPT + 99 others); Fri, 18 May 2018 03:28:32 -0400 Received: from terminus.zytor.com ([198.137.202.136]:59461 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751907AbeERH2b (ORCPT ); Fri, 18 May 2018 03:28:31 -0400 Received: from carbon-x1.hos.anvin.org (c-24-5-245-234.hsd1.ca.comcast.net [24.5.245.234] (may be forged)) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id w4I7RK0W2342700 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 18 May 2018 00:27:20 -0700 Subject: Re: [PATCH] objtool: Detect assembly code falling through to INT3 padding To: Ingo Molnar , Josh Poimboeuf Cc: Linus Torvalds , Alexey Dobriyan , Peter Anvin , kernel test robot , Thomas Gleixner , Andrew Lutomirski , Borislav Petkov , Brian Gerst , Denys Vlasenko , Peter Zijlstra , Linux Kernel Mailing List , tipbuild@zytor.com, LKP References: <20180515210757.GA12225@avx2> <20180515214337.GA18021@avx2> <20180515222211.ods5hzne46hozojq@treble> <20180515224354.zmygmsnlqj5lrdbo@treble> <20180516033044.odb74pdgcn5nacwb@treble> <20180517134934.eog2fgoby5azq5a7@treble> <20180518071814.GB26358@gmail.com> From: "H. Peter Anvin" Message-ID: Date: Fri, 18 May 2018 00:27:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180518071814.GB26358@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/18/18 00:18, Ingo Molnar wrote: > > Ok, this is cool, it addresses the robustness problem that INT3 padding introduced > very nicely. > > The concept of built-in kernel tooling working at the machine code level is just > so powerful - we should have added our own KCC compiler 20 years ago. > How many times has this been suggested? ;) -hpa