Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3124512rwb; Fri, 20 Jan 2023 11:31:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXvmni6WAUEDokjMOyzZ56wgv5llcKN+pC2yLEWVVu/2OCtv2dY74vm59Xs0Bs7no7rGOG3i X-Received: by 2002:aa7:da42:0:b0:45c:834b:eb5f with SMTP id w2-20020aa7da42000000b0045c834beb5fmr16116552eds.42.1674243061853; Fri, 20 Jan 2023 11:31:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674243061; cv=none; d=google.com; s=arc-20160816; b=tpdKuQZ+YDCcKkZ5MniLnJp/oKo3huOT+X08NmdjZJRy99LDfLvndKfL6yV+0+diOI XZXelg0sRvM4id7g570+aUEWtap/qC1GD6hLnCGwVAtmOswHtRcxjQFEec/yFccq3vnh r7x5U1oEBuuH+Z4fDS9jS0GimBxuE4uyMF4pZB5uCdIFeqL4WTBmdm0L1VGYymP/hN8P LyOky6eMTvLyfpkt46o8CNRcsyBh2NJotgbD6bBET4ktIPLVSTBL9EwKJFP5sPvVW+rZ BBjLTvB1f8cl1+vcznkkPVWol3Ko/sVtLKlviwss5zlE4X8PfsLGthQiahG8VglsUzLZ q8ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jGyt6CUdmtm2ioRKnF8I31iR5Kv2QPHBMLPFSaYDNiY=; b=FZzP494H9BXMn8AWRSKAcMc+gwkmf0XuoP1uck3mH6XSi3EMn/htMrB5HtH7BL/D3v ry6j1DwUPJ9qkv1/XIYfvJpXSMnOVUZsiY+7aBLT1/S+2FyMfOGJyKrfT1PEMcID1HHq eufoxRXIjSCjIT0IGZ69SOjZDEbc9GyalaydT5yuul6973tWM5+i9u1M/KPsLv0EokQj erkgAauetBKVAcNC1ZF7LvDahSierBX0A+kswRwaEPuzN6fEUYmvNOcDptyesztZSGAJ o+ebR/uUGJcUjuz7j86po0C0YMYihe538BSjDtDqCrcq9pai0E2rnwdIXpigLx7dTgIs snpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Uu5CA7oj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d20-20020aa7d5d4000000b0047ed1256ff6si17663531eds.443.2023.01.20.11.30.43; Fri, 20 Jan 2023 11:31:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Uu5CA7oj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230003AbjATTUX (ORCPT + 50 others); Fri, 20 Jan 2023 14:20:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjATTUW (ORCPT ); Fri, 20 Jan 2023 14:20:22 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C1E6FD2A for ; Fri, 20 Jan 2023 11:20:17 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id x4so4734148pfj.1 for ; Fri, 20 Jan 2023 11:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=jGyt6CUdmtm2ioRKnF8I31iR5Kv2QPHBMLPFSaYDNiY=; b=Uu5CA7ojWufnZge0bmJujGF0GkpDKBVBcpU8xWM4Q0rxz/aT0RAyOpA1DHBDMPbVFN tqUjNMfa3Aif+GgOpT8Q+nf25/sXFy7XS5A1bpe7NXC9AG09PWDFNgVwd3N4AL4mEvjv uK6rJDTix7y5/wRAdoMLSZqftlfVqyVo6OkYU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jGyt6CUdmtm2ioRKnF8I31iR5Kv2QPHBMLPFSaYDNiY=; b=p1FE3/yJqlGygUVsYXNlHLf3UxTcQYyb3Wp3T1eg9tVA5ihl31K4DjQTfCkoomC7vG djYCY1kSLYbpd+duQ4qRYlkJnq60C/YU8mefGaQvvWGpWDyPHUr0jB+N0XLgXwkTdXEv C6j61tCMWjgPxZLp6j5SKvqkTb+3NMLaSReiQbly2kg3zJm7dHge0bcYj1pVE88fCtCz IDplufy2R01BSOWfP5Vf8wzhgAhSntU1v7vGy9+z3VBc7WCNnbb81lcjDEcmMEVwlJeN 9KqIBxPqtCi4Eyhn4l7CReh+0qcrZl6wYvxVu3ZRlX268qdgVlca+aPs1Kqz+qC9HJf6 7wAg== X-Gm-Message-State: AFqh2kq693lGYOOvio7Q9U0Okh33J98/RjElGKNtHajLm5r4hEOq9WVA zjnkxqWepIScwqI9yxzKMRzsxg== X-Received: by 2002:a05:6a00:3025:b0:58d:a683:bb2f with SMTP id ay37-20020a056a00302500b0058da683bb2fmr18456253pfb.23.1674242417297; Fri, 20 Jan 2023 11:20:17 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id 3-20020a621503000000b00581c741f95csm24490646pfv.46.2023.01.20.11.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 11:19:50 -0800 (PST) Date: Fri, 20 Jan 2023 11:19:36 -0800 From: Kees Cook To: "Edgecombe, Rick P" Cc: "akpm@linux-foundation.org" , "bsingharora@gmail.com" , "hpa@zytor.com" , "Syromiatnikov, Eugene" , "peterz@infradead.org" , "rdunlap@infradead.org" , "dave.hansen@linux.intel.com" , "kirill.shutemov@linux.intel.com" , "Eranian, Stephane" , "linux-mm@kvack.org" , "fweimer@redhat.com" , "nadav.amit@gmail.com" , "jannh@google.com" , "dethoma@microsoft.com" , "kcc@google.com" , "linux-arch@vger.kernel.org" , "bp@alien8.de" , "oleg@redhat.com" , "hjl.tools@gmail.com" , "pavel@ucw.cz" , "Lutomirski, Andy" , "linux-doc@vger.kernel.org" , "arnd@arndb.de" , "tglx@linutronix.de" , "Schimpe, Christina" , "mike.kravetz@oracle.com" , "x86@kernel.org" , "Yang, Weijiang" , "jamorris@linux.microsoft.com" , "john.allen@amd.com" , "rppt@kernel.org" , "andrew.cooper3@citrix.com" , "mingo@redhat.com" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "gorcunov@gmail.com" Subject: Re: [PATCH v5 00/39] Shadow stacks for userspace Message-ID: <202301201118.6A55DE336@keescook> References: <20230119212317.8324-1-rick.p.edgecombe@intel.com> <20230119142602.97b24f3cdba75f20f97786d3@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 20, 2023 at 05:27:30PM +0000, Edgecombe, Rick P wrote: > On Thu, 2023-01-19 at 14:26 -0800, Andrew Morton wrote: > > On Thu, 19 Jan 2023 13:22:38 -0800 Rick Edgecombe < > > rick.p.edgecombe@intel.com> wrote: > > > > > SHSTK > > > > Sounds like me trying to swear in Russian while drunk. > > > > Is there any chance of s/shstk/shadow_stack/g? > > I'm fine with the name change. I think shstk got debated and picked > early in the history of the series before I got involved. "shstk" is > nice and short, but it's not completely clear what it is unless you > already know about shadow stack. So there is a tradeoff of clarity and > line length/wrapping. Does anyone else have any strong opinions? I prefer SHSTK because it specifically means x86's hardware shadow stack from CET. Lots of things can (and have) implemented things called "shadow stack". -- Kees Cook