Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp408531yba; Fri, 26 Apr 2019 02:08:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEM2dgxLyuJ/OwD7nk9HXLj4BbwWB1QUQgtqDP88EA50S83z6oqIV6izfdxFpd85YFPi+x X-Received: by 2002:a65:5089:: with SMTP id r9mr42181512pgp.14.1556269683969; Fri, 26 Apr 2019 02:08:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556269683; cv=none; d=google.com; s=arc-20160816; b=hTvKwMQZ99lER+U5ltCe12SY+Jp1n/vy3JNIchJsOXY/k0fKVpGj6XMbsLeyH4xx5J qycyYec7fhXhVkv7xS7LQC9Zhxbd6IODg4v7FPMT7qqKNlgxyduJhY6RAxnGdEm64Cdo D6ebbFrbt5GZB0KlDeSj7qMOahNzDnkLJqMRjx/x2eZ3pfVPrLhuaKMfy3SGyPLD7Z+a kvm8VaH34obBumpwd8Q7InFApqjmsXR+cLtBfGCfjsTNdjwIMfCQGqDMkNkKsYtYXm8d OZ8QVlPJeLwnr8Gem0fFzO1hqxjrR2EyIC74gtom/QYAIHWZE9qigVjbPmVa1VJQYczU Tt4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=YLM+bpnD7HX1n9RHDbTE9FhZeZ5xuHY20RrgXBCSDe4=; b=e951Se96BjSuj7pIrGrg3z0mek7gfDpWJdZwMnyTbXVmKK8lD3hYp+HKQLE0/ck42f awwogcBKmWVCspJ2C3PrT1ypnmoCa0fzMLADrRbM0oLp/DS70lGTXiAXKhAdnLEDNnXR F0ROBFFeYyXNW43YCvg6TS8j33TGMAAusyFqMvrMFQusI6GNPZHldofscGHT4ipsLkQv VcDGJoetu8NGNBLMCv8SuXwzRklEHOHqdxus3psTuGcfcmxtQWZ1+SkWZNiUZIoG4A0K mGMJwTzz5RzbehgHQ7zGHJJ7o5APlLrcB3e87I6nBBAnWi1Y9E6VDvBgwl+l3+3cSt0O B21A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si25009808pll.127.2019.04.26.02.07.48; Fri, 26 Apr 2019 02:08:03 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726176AbfDZJFB (ORCPT + 99 others); Fri, 26 Apr 2019 05:05:01 -0400 Received: from twin.jikos.cz ([91.219.245.39]:34186 "EHLO twin.jikos.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbfDZJFB (ORCPT ); Fri, 26 Apr 2019 05:05:01 -0400 X-Greylist: delayed 3377 seconds by postgrey-1.27 at vger.kernel.org; Fri, 26 Apr 2019 05:05:00 EDT Received: from twin.jikos.cz (jikos@[127.0.0.1]) by twin.jikos.cz (8.13.6/8.13.6) with ESMTP id x3Q87p6T000940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Apr 2019 10:07:52 +0200 Received: from localhost (jikos@localhost) by twin.jikos.cz (8.13.6/8.13.6/Submit) with ESMTP id x3Q87oY9000925; Fri, 26 Apr 2019 10:07:50 +0200 X-Authentication-Warning: twin.jikos.cz: jikos owned process doing -bs Date: Fri, 26 Apr 2019 10:07:50 +0200 (CEST) From: Jiri Kosina To: Andy Lutomirski cc: Mike Rapoport , LKML , Alexandre Chartre , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , James Bottomley , Jonathan Adams , Kees Cook , Paul Turner , Peter Zijlstra , Thomas Gleixner , Linux-MM , LSM List , X86 ML Subject: Re: [RFC PATCH 0/7] x86: introduce system calls addess space isolation In-Reply-To: Message-ID: References: <1556228754-12996-1-git-send-email-rppt@linux.ibm.com> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Apr 2019, Andy Lutomirski wrote: > The benefit seems to come from making sure that the RET instruction > actually goes somewhere that's already been faulted in. Which doesn't seem to be really compatible with things like retpolines or anyone using FTRACE_WITH_REGS to modify stored instruction pointer. -- Jiri Kosina SUSE Labs