Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91FD8C6FD1F for ; Thu, 9 Mar 2023 23:35:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231251AbjCIXfL (ORCPT ); Thu, 9 Mar 2023 18:35:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230373AbjCIXfJ (ORCPT ); Thu, 9 Mar 2023 18:35:09 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC3F6230F; Thu, 9 Mar 2023 15:35:08 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 73AB01EC06C0; Fri, 10 Mar 2023 00:35:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1678404906; 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: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=mc6I+7znRrVDUZxl+wj7p4vTUU0tWw4JGu8kmW+lb6Q=; b=Semlql+hKRL0bn3X+wUWPEkKWryDpN6ryllb991Hk4mYRJLWTaWPXjMpZWJWHe07Iqu6Dp vx9CEKiZCYskAoldvuI+UMBaAuSp6A/VNnYkeovomed0WXeT0h9rqH0CuEii5pUWMdBzDw viTDD92tsD6WL+Y3QNB5XsuOSArmHvQ= Date: Fri, 10 Mar 2023 00:35:01 +0100 From: Borislav Petkov To: "Edgecombe, Rick P" Cc: "david@redhat.com" , "bsingharora@gmail.com" , "hpa@zytor.com" , "Syromiatnikov, Eugene" , "peterz@infradead.org" , "rdunlap@infradead.org" , "keescook@chromium.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" , "kcc@google.com" , "linux-arch@vger.kernel.org" , "pavel@ucw.cz" , "oleg@redhat.com" , "hjl.tools@gmail.com" , "Yang, Weijiang" , "Lutomirski, Andy" , "linux-doc@vger.kernel.org" , "arnd@arndb.de" , "tglx@linutronix.de" , "Schimpe, Christina" , "mike.kravetz@oracle.com" , "x86@kernel.org" , "akpm@linux-foundation.org" , "debug@rivosinc.com" , "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 v7 32/41] x86/shstk: Handle signals for shadow stack Message-ID: <20230309233501.GAZAptJTCLtEWLCVNu@fat_crate.local> References: <20230227222957.24501-1-rick.p.edgecombe@intel.com> <20230227222957.24501-33-rick.p.edgecombe@intel.com> <20faf06156782664690af6b4680c581640db53dd.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20faf06156782664690af6b4680c581640db53dd.camel@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 09, 2023 at 05:16:42PM +0000, Edgecombe, Rick P wrote: > On Thu, 2023-03-09 at 18:02 +0100, Borislav Petkov wrote: > > On Mon, Feb 27, 2023 at 02:29:48PM -0800, Rick Edgecombe wrote: > > > From: Yu-cheng Yu > > > > > > When a signal is handled normally the context is pushed to the > > > stack > > > > s/normally // > > It is trying to say "When a signal is handled without shadow stack, the > context is pushed to the stack" Yeah, I see that. But "normally" is implicit in the "normal" case, without shadow stack. So you don't really need to say "normally". :-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette