Return-path: Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fBXNX-0004GF-10 for speck@linutronix.de; Thu, 26 Apr 2018 05:15:28 +0200 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BA9264276E85 for ; Thu, 26 Apr 2018 03:15:18 +0000 (UTC) Received: from washington.bos.jonmasters.org (ovpn-126-71.rdu2.redhat.com [10.10.126.71]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 857FA83B63 for ; Thu, 26 Apr 2018 03:15:18 +0000 (UTC) Subject: [MODERATED] Re: [PATCH v2] Linux Patch 1/1 References: <92c45587-5eb3-2421-6fc1-42e74a715e30@linux.intel.com> From: Jon Masters Message-ID: <3214c9b8-48d5-d939-5a67-df5f4f4f15a8@redhat.com> Date: Wed, 25 Apr 2018 23:15:17 -0400 MIME-Version: 1.0 In-Reply-To: <92c45587-5eb3-2421-6fc1-42e74a715e30@linux.intel.com> Content-Type: multipart/mixed; boundary="ed3HtRZJl1cadT06f5RCtkwTx9mG19WBO"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --ed3HtRZJl1cadT06f5RCtkwTx9mG19WBO Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/25/2018 08:11 PM, speck for Tim Chen wrote: > Processes that are unable to use other software mitigations and execute= > untrusted code may want to disable speculative store bypass. This patch= > adds a new prctl : PR_SET_RDS_MODE. Let's not use the Intel name for this. It should be neutral since it will be used across architectures. PR_SET_SSB_MODE could be ok. I personally favor a PR_SET_SPECULATION or similar first argument (seeking input from Linus here) that could be used to set flags for this and any future additional limitations that might need to be added. I can't see how this will be the first and only time. Another way around could be PR_SET_VULNERABILITY but "speculation" seems nicer to me. Jon. --=20 Computer Architect | Sent from my Fedora powered laptop --ed3HtRZJl1cadT06f5RCtkwTx9mG19WBO--