Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3333183imu; Mon, 19 Nov 2018 14:24:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/UOT9pulymxeK8A6CsoQZbwnVeRODqGm3gj7TGBIlpwLr9UNnL0rkTAajxpfb3nTWrEUN37 X-Received: by 2002:a17:902:b689:: with SMTP id c9-v6mr4855299pls.306.1542666255093; Mon, 19 Nov 2018 14:24:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542666255; cv=none; d=google.com; s=arc-20160816; b=u73ATqo0s5VmopEyF8M92vMFVRPZxqqNkPe9mYqmfcbXQ1ChldO4yJOUzm3ipPS5Ni BtO1A1LMth913D5XLMWeXsOx+0tm4R1we1qriITIDys+02C8wrVGKa+LTXCH0xjY0+4q 3st//YwT5nOIZSEUJt6LJ3BAPHAloO8OeEGN/otMKGoBdbdIkxLSMHETgeaUgg0Sb1df b+KHF6BATgjYAoIxSviGkHBaJ7FKBE173tNSUiYgXbnCK2RUhlCHqlJ8qeXiREbTRtD7 56kw4n1E2mYeOCoowneBkTxPx5GDAbGPK3v20SXsf4VBluGXUZ0MfMcrqa/hbevGAqlc TYfg== 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=nwrloT6VSEy5ZMu8xnb8cKu3aahHSo2C8BbYfnfkQCk=; b=WK+DD0ZN1EL5VXjru7N+mJqD18XfmIoouuwbVxCyG+OemINmW50vp7dIR4Ewc1Kgqh ygaiFmEh4Z6wM8frZFM/0HQ92pU1F2zhPwmALGpQ+OjRwWX1Jisshn+NBotFg/NORWo3 vMQCIhqGugQxQdai8de+LPvksP1Z+AJm0b1CPnGnO5vUpXtK3ZskHHRz3LzQ3nVP5Wfi hXnw9FO8U0EGW8j96cxST6HiremE+5Mel11unb7gFxtniNQBwKE+u+nuKYAwi1ipwSn7 WwqaJBwIwbgNTrpwCJ7WlaKcDqWuF/+dyD5RyFTehAjoXHb2xD7ejaC1TvYl12kyzkEU wKaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=KYooxec6; 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 i20si34653633pgm.586.2018.11.19.14.24.00; Mon, 19 Nov 2018 14:24:15 -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=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=KYooxec6; 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 S1730437AbeKTIsu (ORCPT + 99 others); Tue, 20 Nov 2018 03:48:50 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:50991 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730244AbeKTIsu (ORCPT ); Tue, 20 Nov 2018 03:48:50 -0500 Received: by mail-wm1-f66.google.com with SMTP id 125so290139wmh.0 for ; Mon, 19 Nov 2018 14:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nwrloT6VSEy5ZMu8xnb8cKu3aahHSo2C8BbYfnfkQCk=; b=KYooxec6lesfDzTj07cQUI+70Y6ji5Z10EjC7+3vv3FoR/Q1AEew2QzLki1BzdIAkH VyYZ+WrxTW4udK5Lu9qP5+tI2ScBEH8v0pNWCbb0cCkT/LRnrdSBuQvrT4o9VkYpqo9y IgI9OoPfo2t9R8gcbU5QJs+uRcgD6sFQrelPC+HH58AvQ1gcVucnRpqlF1FQfJ4QcK3E ec0rWu2Knb8RVlJ/kqKdYwolZSHmAuqcUmvx3pFSiCtPV6MefPlUx4vXNqfNxv5xLeiz Tun1uwYC5zhrzc9SOj6Oc3E0rJUJhxOvOAF5EJdVLfgusKq2V9bNA1qIsnWGvFeIlrqA uv0Q== 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=nwrloT6VSEy5ZMu8xnb8cKu3aahHSo2C8BbYfnfkQCk=; b=iLBcV4PwNYsPukgfqoXxoH0n4I/kN2lnxTWINOJQU70JeirGjp4XHcKDGo4hhMQxx5 S+ZuEelSW5AVH1FlIWURHHHmeKZPSoWZIZseWarZVQ9pLnjb3pByVriwoZQSQRLIuj6V s/VFQdMN2n4qw1srDuwwVPoui8eWyjtC9de3NYZWil409XTzY7hWSP2FdOJn44Jx+AzN OSU773pYMIVA9enUlzpQ2mgz8Rkjlsyz0QVtm6okZlcP9w15H9rPLLhdmYNrjIap478b ZbWGNi8caqD/bPMdcYOVQBHmpWY4zrv+a50qxv34w0aQsHWKyFq0UEfGlf/AZnpR0qhA PvMA== X-Gm-Message-State: AA+aEWaGj8iTHnt5/ac7arudKLgpmzLF+v5NeVa5iYS3hCOG+QCSDzSL ZiJyzMWPrjYoUDMx+MOnMV8zAW64YiDPM/U0HPS8sA== X-Received: by 2002:a1c:110b:: with SMTP id 11mr5855759wmr.83.1542666181214; Mon, 19 Nov 2018 14:23:01 -0800 (PST) MIME-Version: 1.0 References: <20181119214934.6174-1-yu-cheng.yu@intel.com> <20181119214934.6174-11-yu-cheng.yu@intel.com> In-Reply-To: <20181119214934.6174-11-yu-cheng.yu@intel.com> From: Andy Lutomirski Date: Mon, 19 Nov 2018 14:22:50 -0800 Message-ID: Subject: Re: [RFC PATCH v6 10/11] x86/vsyscall/64: Add ENDBR64 to vsyscall entry points To: Yu-cheng Yu Cc: X86 ML , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , LKML , "open list:DOCUMENTATION" , Linux-MM , linux-arch , Linux API , Arnd Bergmann , Balbir Singh , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H. J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , "Shanbhogue, Vedvyas" 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, Nov 19, 2018 at 1:55 PM Yu-cheng Yu wrote: > > From: "H.J. Lu" > > Add ENDBR64 to vsyscall entry points. > > Signed-off-by: H.J. Lu Acked-by: Andy Lutomirski although the scenarios where this matters will be extremely rare, given that this code is mapped NX :) Tools like 'pin' may care. --Andy