Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1673334rwi; Thu, 20 Oct 2022 16:03:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7DUn2K1aX/IThbBzJay3sg6VuC5SfGDg+tAA7KkL2N/i6vClSDgCu0GpT348Za65K0Sxwv X-Received: by 2002:a17:902:dad1:b0:183:243c:d0d0 with SMTP id q17-20020a170902dad100b00183243cd0d0mr16402782plx.157.1666307001205; Thu, 20 Oct 2022 16:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666307001; cv=none; d=google.com; s=arc-20160816; b=w2OgPQVblNsr3YhzV0sN0bsObXcmkmMgsTU/8T+QM+qAlzm+XXot4fOSc9kkdK9K5J 8oNVFnW/XfpsVj19nr9VB9QYMKhjkV6ofDcAJhnplaM0DG9Wa2DOOOWj77MNqwywBEAu 8Dx11XQyHS2RiLvvdpCKYVgIiS+DF+HYwv6Dj7JdSqjJXSid+2Hn6Gedl/qDfWZAlMh6 B/lstEZdD2MKpoujNVSg7b9xzXwba6coHxJIWHkIVrSD30IRlcciIsUJV7Sc/rcgVZzg zvQ2wgFzhdepRLkGzB5hZHA7r7zZyPF09DCuY9g47wwhIscbnjeeVeG2befqlMnF0EWU ga/w== 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=TMshH9biaVXQs7+fRI1qPbg8/Vmgf41zzdE8Ax9DFYA=; b=eCqsOvDTolpb5R6Y89V19Ek9I5+7PiqCKv3gJXECRm+NNDmDsYp1u+MppP4nGoZHv1 TNu/IRP/7LZjDhQakStFlWo3yc+DjsGmdt7UXkkCz/l8H8rwEu+dUmC8vbaHgxhGrxr+ IqsOZYZpLxVFHLKv0ZS0IugfqpdcLBRkXKkYAgWKSnZL+oLEK8KdBLWWTK1eO7/qgsea mT/LXaiRV785w+K45VK0E0GbkEd0c4viHy7Q6m+4ULSh7btXzg940ADIQRqPK6tIhYo4 pXj3wavJ/CLY1TRMFdYyCW6qJnW86SoqcklcxGUPWdP1AqSuCqrBhp/4Gr9fSR89Lnkv qmDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UxXF8cbs; 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 b9-20020a63eb49000000b00460a6ee5b53si25362152pgk.37.2022.10.20.16.03.09; Thu, 20 Oct 2022 16:03:21 -0700 (PDT) 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=UxXF8cbs; 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 S229803AbiJTW51 (ORCPT + 99 others); Thu, 20 Oct 2022 18:57:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229876AbiJTW5Z (ORCPT ); Thu, 20 Oct 2022 18:57:25 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5898A22E0D4 for ; Thu, 20 Oct 2022 15:57:23 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id p6so657245plr.7 for ; Thu, 20 Oct 2022 15:57:23 -0700 (PDT) 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=TMshH9biaVXQs7+fRI1qPbg8/Vmgf41zzdE8Ax9DFYA=; b=UxXF8cbs/icsMsb/bPq8qttNDmiXRbLXaFp21el0sK2dq1lWLpxMZFArsRK0mkWhEU yH4Std6R7RGYgzqSZ9NFNY44SR/8k2wJ6QyM+mBSFV9D+hNdowYlrtXHMJQwwC6UoW6B hzj2LHb7fOguUuRiCYaSJ8vUl7YrNcGUVd+Us= 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=TMshH9biaVXQs7+fRI1qPbg8/Vmgf41zzdE8Ax9DFYA=; b=YVZA6twhKYPYT8u1Jy4L9z6Vsq+HtTgkbSFI6Ocz19t+rCjgAv97OYnTcdHMW/dtRh UvrQEyD/ILAyKJk6Sd8obA3nGpDueJJ2er4KpG+6NOnJMI4amZY/hj6W92NGvVrFFwxV UMEEAI23Y1pb5fwQgYn8sn4W3vjjRNxkV50x9MzyoKuf6Z79GmBytopZh0Y32N10Enhv HdVncui3zU/+BgV4hc+hF+wcGRv0BK47g2XAmfLpD1b2atzXTgUlXuirlQKZHBfRO1Ov jzNajG1aFJtX5RctpgDy592fJr08jTCrphRDTOPGZKyvv1gYmaA31nwayOf0hAuv40Cg lU4A== X-Gm-Message-State: ACrzQf2hJAr5quA+pq/NHIjvu0UYveeDrJFChAts5o0RvLQWzV67GwWP WZqhHuL+8GNnaW+6Ov3nUzUxdg== X-Received: by 2002:a17:902:b708:b0:184:3921:df30 with SMTP id d8-20020a170902b70800b001843921df30mr16498236pls.43.1666306642632; Thu, 20 Oct 2022 15:57:22 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id cp15-20020a170902e78f00b00176dc67df44sm3361025plb.132.2022.10.20.15.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 15:57:21 -0700 (PDT) Date: Thu, 20 Oct 2022 15:57:21 -0700 From: Kees Cook To: "Edgecombe, Rick P" Cc: "bsingharora@gmail.com" , "hpa@zytor.com" , "Syromiatnikov, Eugene" , "peterz@infradead.org" , "rdunlap@infradead.org" , "Yu, Yu-cheng" , "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" , "linux-arch@vger.kernel.org" , "kcc@google.com" , "bp@alien8.de" , "oleg@redhat.com" , "hjl.tools@gmail.com" , "Yang, Weijiang" , "Lutomirski, Andy" , "pavel@ucw.cz" , "arnd@arndb.de" , "Moreira, Joao" , "tglx@linutronix.de" , "mike.kravetz@oracle.com" , "x86@kernel.org" , "linux-doc@vger.kernel.org" , "jamorris@linux.microsoft.com" , "john.allen@amd.com" , "rppt@kernel.org" , "mingo@redhat.com" , "Shankar, Ravi V" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "gorcunov@gmail.com" Subject: Re: [PATCH v2 27/39] x86/cet/shstk: Handle signals for shadow stack Message-ID: <202210201556.EF52D322@keescook> References: <20220929222936.14584-1-rick.p.edgecombe@intel.com> <20220929222936.14584-28-rick.p.edgecombe@intel.com> <202210031347.6DBE61199@keescook> <56095eac64e95b79ea04e84909d8ba0ab49d9246.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56095eac64e95b79ea04e84909d8ba0ab49d9246.camel@intel.com> X-Spam-Status: No, score=-2.4 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,URIBL_BLOCKED autolearn=ham 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 Thu, Oct 20, 2022 at 10:08:17PM +0000, Edgecombe, Rick P wrote: > Kees, sorry for the delayed response. There was so much feedback, I > missed responding to some. No worries! Most of my feedback was just to get help filling gaps in my understanding. :) I appreciate the replies -- I'm looking forward to v3! -- Kees Cook