Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp74189ybx; Tue, 29 Oct 2019 14:34:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1DWI/s7JqkEISgRZedK3qj2oda7obRqytTQVciR9WclO489BQQf/AmQD7Jl6rkM+/DqGF X-Received: by 2002:a17:906:1da1:: with SMTP id u1mr5729413ejh.275.1572384888235; Tue, 29 Oct 2019 14:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572384888; cv=none; d=google.com; s=arc-20160816; b=A+e8xdz9FOgmgYzzPVEWZcZMtLW2hlThNVnUJsqQy2bvxQaqbb/we3wRqCa6oqO1Cg 8aIqVAJa0I02QIAzk3/C1TzhfmqDQWHzb99Ywr9lSwie7k9mvrCgacCAMo0VvSl0EMV+ J3roEqTTXuyg0J1gVF+C/Sm8WHG0gbabF2O6DoySjN53zBkYs1CgtkemYR3w1xOJGXZn ynvttupBuPAphtJM77feotc81fTv82MHTGcnMhefFA2GQNdNFzmkkUcZUbdgtmktholF MGMSAp39dolKC/YY/dG8wbAJvV2SRAAsnJvLIkxq8B/n5WCqV+znWZ6KitVEH79dFNzQ TGww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sG8ktVp69lBLldtD8XFYhZW6X0Mbz+fRfKIpBc3S1fE=; b=rscFpL8KKl97fCKKKCfYpw0TNnQhXhmC+Y+s8GCVFVprt0Xi6J8r0+zWigEqGq1MUZ mFyWpmu1RxsmjSkbDNCaSAWHHj3KpmwaoGQOQCj9wmJsLmwLJXcfAllRFL42xWUpptTh mqorYo/uAUx3H9w/aLu8/E/Cdd5eLlwRZWlCotvakon8wk4Gaa38xAC2NgIWgu1wAEy2 4WgVRMqNIbO7xlobqh6GOgSoCmj9cZHq1V4Phitx+0vhCFD4YMZSUw8EmWGXJhhjnTbg ZzClf8o9LPQrErjKccIx9JCFwlw3sFAdbk9xSH50vKQCQNsJCZFJ4c1og7WyS+c6FQuk prxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eeDi1R76; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si9536886eja.294.2019.10.29.14.34.24; Tue, 29 Oct 2019 14:34:48 -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; dkim=pass header.i=@chromium.org header.s=google header.b=eeDi1R76; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728934AbfJ2Vbb (ORCPT + 99 others); Tue, 29 Oct 2019 17:31:31 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:45372 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbfJ2Vbb (ORCPT ); Tue, 29 Oct 2019 17:31:31 -0400 Received: by mail-ed1-f67.google.com with SMTP id y7so30524edo.12 for ; Tue, 29 Oct 2019 14:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sG8ktVp69lBLldtD8XFYhZW6X0Mbz+fRfKIpBc3S1fE=; b=eeDi1R76xYCKBaFKAK/zVVjADW1kTa1srCPF0WcJM7yU0DkoXkUiJwryjC6xTYGZyo d0DNATnv8FA08H765+CI9jRvNYj3EkL7mDP3t8zyAFX536x5LRun/hUVHf0fYxeFR1Fz mtwefrj5sIbiglak1f5PhwDJFrPwYzq6Seu7A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sG8ktVp69lBLldtD8XFYhZW6X0Mbz+fRfKIpBc3S1fE=; b=p76ivIEX6egN6Ah/vJTv+3X1kllSncQuZQZBknd21nmSW4r8KfxBcF5Ck5nTHlKa5f 9z7OjYiaEgW9oA1hlyzd4V295w319RgSkL+6j/ti+mgEC+nMa47rydPKxdndhmI0v5de ExPvEe3VGA0W+FrFYNy3TlsSjAmppXYZeWcc1iFGMgUYMQFF/SHdCYnBaBxGX18EMTzW EIlnZaK6cIUYMhbmT9+OEYI0hXjoh+tyxz3czvhxaPUi5F+0OkXQ1DDIUeBeiOCsHSGB a/bR8g7rNyKsF6k+BZhQLQH+g/xg7G47RZNzY8zKA3stY7jppDp9emLm7KE3YB7JLDQu +TTg== X-Gm-Message-State: APjAAAWHKbQUgYJAUlQ75KYY1my4bkOa3nbzW6QsmQgUuyNsrD79Zcoq v9VsIlO6xJhXVquHyxJxlrTotxYE/so= X-Received: by 2002:a50:b63b:: with SMTP id b56mr26603533ede.165.1572384689086; Tue, 29 Oct 2019 14:31:29 -0700 (PDT) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com. [209.85.128.49]) by smtp.gmail.com with ESMTPSA id d3sm664ejo.74.2019.10.29.14.31.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Oct 2019 14:31:28 -0700 (PDT) Received: by mail-wm1-f49.google.com with SMTP id x5so3976922wmi.0 for ; Tue, 29 Oct 2019 14:31:27 -0700 (PDT) X-Received: by 2002:a1c:a9cf:: with SMTP id s198mr5907919wme.5.1572384687151; Tue, 29 Oct 2019 14:31:27 -0700 (PDT) MIME-Version: 1.0 References: <20190730191303.206365-1-thgarnie@chromium.org> <20190730191303.206365-12-thgarnie@chromium.org> <20190812135701.GH23772@zn.tnic> In-Reply-To: <20190812135701.GH23772@zn.tnic> From: Thomas Garnier Date: Tue, 29 Oct 2019 14:31:15 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v9 11/11] x86/alternatives: Adapt assembly for PIE support To: Borislav Petkov Cc: Kernel Hardening , Kristen Carlson Accardi , Kees Cook , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "the arch/x86 maintainers" , Peter Zijlstra , Nadav Amit , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 12, 2019 at 6:56 AM Borislav Petkov wrote: > > On Tue, Jul 30, 2019 at 12:12:55PM -0700, Thomas Garnier wrote: > > Change the assembly options to work with pointers instead of integers. > > This commit message is too vague. A before/after example would make it a > lot more clear why the change is needed. Sorry for the late reply, busy couple months. I will try to do my best to explain it better in next iteration. > > Thx. > > -- > Regards/Gruss, > Boris. > > Good mailing practices for 400: avoid top-posting and trim the reply.