From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E30E5C2D0A3 for ; Wed, 4 Nov 2020 23:44:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6DC3320786 for ; Wed, 4 Nov 2020 23:44:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fY6PP1os" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732704AbgKDXlB (ORCPT ); Wed, 4 Nov 2020 18:41:01 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:46485 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732517AbgKDXlB (ORCPT ); Wed, 4 Nov 2020 18:41:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604533260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DVN/srVaTrtu/WkLV+++W+fY4MNzdX1yaxCwzWUhMIo=; b=fY6PP1osgx2pXKvcYDQt4doFfAOblYc8ZmGWJNsrQ/n7gaDeu7qEi9iTI5wuJ0IzTPh1D5 5olDF4Kp1wGSWYtWACHPN6ddZepJYVAQ/haAKeRGMR3D5IdI5ls5S7acDT/RvrT1wjkQp/ oZSkhKyVLeu2sv5P0gYDR0Ak03sZnmc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-463-99fzgGGpOVS8qgAqTj97sg-1; Wed, 04 Nov 2020 18:40:56 -0500 X-MC-Unique: 99fzgGGpOVS8qgAqTj97sg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4255F8015FB; Wed, 4 Nov 2020 23:40:52 +0000 (UTC) Received: from mail (ovpn-116-241.rdu2.redhat.com [10.10.116.241]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5593310013D7; Wed, 4 Nov 2020 23:40:48 +0000 (UTC) Date: Wed, 4 Nov 2020 18:40:47 -0500 From: Andrea Arcangeli To: Thomas Gleixner Cc: Kees Cook , YiFei Zhu , Linux Containers , YiFei Zhu , bpf , kernel list , Aleksa Sarai , Andy Lutomirski , David Laight , Dimitrios Skarlatos , Giuseppe Scrivano , Hubertus Franke , Jack Chen , Jann Horn , Josep Torrellas , Tianyin Xu , Tobin Feldman-Fitzthum , Tycho Andersen , Valentin Rothberg , Will Drewry , Jiri Kosina , Waiman Long Subject: Re: RFC: default to spec_store_bypass_disable=prctl spectre_v2_user=prctl Message-ID: <20201104234047.GA18850@redhat.com> References: <20201104215702.GG24993@redhat.com> <87eel8lnbe.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87eel8lnbe.fsf@nanos.tec.linutronix.de> User-Agent: Mutt/1.14.7 (2020-08-29) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 05, 2020 at 12:22:29AM +0100, Thomas Gleixner wrote: > On Wed, Nov 04 2020 at 16:57, Andrea Arcangeli wrote: > > --- > > Documentation/admin-guide/kernel-parameters.txt | 5 ++--- > > Is Documentation/admin-guide/hw-vuln/* still correct? If not, please > fix that as well. Right, I missed two seccomp mention that needed removing there too. Also I noticed below I intended PR_SPEC_INDIRECT_BRANCH (PR_SPEC_STORE_BYPASS there is no point to even mention it as a possibility to be considered), so I corrected it. == uses no JIT. If sshd prefers to keep doing the STIBP window dressing exercise, it still can even after this change of defaults by opting-in with PR_SPEC_STORE_BYPASS. == > > >with PR_SPEC_INDIRECT_BRANCH. > Aside of that please send patches in the proper format so they do not > need manual interaction when picking them up. This was a RFC per subject since I expected it wouldn't be final, but I added Kees' Acked-by and I'll submit it now. Thanks, Andrea