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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA7EDC48BF6 for ; Tue, 27 Feb 2024 01:06:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xXUi1mUNgq1Vqi5mUGriXLT29sScw6RbHW6bGY3OaUQ=; b=3MHjDcTgq4Apbw fAOfzBRsoZepQvWReQrSlugpm48J8MFjEHbQqGCQ7QKdSC1q86zi3/njDlotbSmYolm0Bxowb+Ld4 gldcS1HXpaFWDyhtW3jK4dczPGZ5/oCp64l1ZSUkRElur97Gy2/pzfGsG68WzsLaYBKWSDjrmTRoz 3Y7s67s+Q9n/JFxfKC8K1hgzKRcyBFglClqCxGs7xoTt7yTTvq/ySR93Ys9m79fPZlxyPi2RUZvgg s+RM2vEydaeOpe4A+SXLmyaW280Ni9HpeznN6QvpeXS+QQJXGyCS1QI7PPAsbjr1WkWATFweJMtr4 MgKyCbmLutoTU4gE0y9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1relvC-00000003D8A-3MZj; Tue, 27 Feb 2024 01:06:14 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1relv9-00000003D7T-39PK for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:06:13 +0000 Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-29a5f100c1aso2565928a91.0 for ; Mon, 26 Feb 2024 17:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708995970; x=1709600770; darn=lists.infradead.org; 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=ilxSVtXwJEiNKpvZECeMq2I239dM0LKzAV2B07SGDl8=; b=FbjFZzStqg9GNbOQA4MWHmQleKKwysCMMWzmQ34wjhn0LAZo2wLvz/zLg+1SY5edNy fe/MAwyODSxxaD0TP6tvmxSjY+FgCcdByDo0OygJ3LAS5XZT6wSbgYm+xnG26OS4m0RE BrSvqllq1GJTni/upd3puvYfvyseBpIe13Pn0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708995970; x=1709600770; 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=ilxSVtXwJEiNKpvZECeMq2I239dM0LKzAV2B07SGDl8=; b=LjZYWc/lnB9kTuoclONGzAjv61lIhKZscyOy7pRC4XWPE7wk+XyBsGl4JyzRAacXsL toQuutZJsURWTHsxxznagFEzCBoDTrNZ2iMcBueSQDgGDu0VpjLCqOwen0QVE1hxTjM2 i74ghvG5DvWK2q/6AbmK2qiKf0rm3hvoB47FF7PXqhRg0GDDkhNdyEX5UBiQWLNDsCSm 6rCbcB60r1nc10Ot1+alktaroW+hgKJp8hvrQ7raLlO7MxA0gVORJASFyIZ0cyv+z/SR Q45LT6s0zxQbJ9+WTsklYAW2yDT0d9pJgdk1xgXljrpmmrDVKvWHC2jJ9PfxxGky76nH 5TwA== X-Forwarded-Encrypted: i=1; AJvYcCUw/BeK52MbwKJ5Z9ADG+ou/qB5fqxRhWhyoMXQy4hZ/XgFn926o/LB7mqXKIu9fR3iha4GWU+AL5S2Bows6PaXf3mrHS8MsRDCHdPqKF+fHjraIEo= X-Gm-Message-State: AOJu0YzWbi/R3tW6fs9DTxvoJomQt2rM4JCvfPfIaAbjDWW+BQBmMv+V 9d8JDh/8k3FK33qBgXDroco0srHEFiWP93zccCgR9w4P32pVUxq9QB1OE8BllQ== X-Google-Smtp-Source: AGHT+IFHlG+XM9sREVaFA5RCt/za8tb+jnlOMihqGl4vJ7sjJTIzn7SVfADXnIBmqZg/YVWZbU/69A== X-Received: by 2002:a17:90a:4c85:b0:29a:8c78:9a7 with SMTP id k5-20020a17090a4c8500b0029a8c7809a7mr5874927pjh.40.1708995970351; Mon, 26 Feb 2024 17:06:10 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id jx18-20020a170903139200b001d9773a1993sm288268plb.213.2024.02.26.17.06.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:06:10 -0800 (PST) Date: Mon, 26 Feb 2024 17:06:09 -0800 From: Kees Cook To: Linus Walleij Cc: Russell King , Sami Tolvanen , Nathan Chancellor , Nick Desaulniers , Ard Biesheuvel , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev Subject: Re: [PATCH 0/7] CFI for ARM32 using LLVM Message-ID: <202402261703.695B87E6@keescook> References: <20240225-arm32-cfi-v1-0-6943306f065b@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240225-arm32-cfi-v1-0-6943306f065b@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_170612_032090_000E3CCA X-CRM114-Status: GOOD ( 13.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Feb 25, 2024 at 09:08:09PM +0100, Linus Walleij wrote: > This is a first patch set to support CLANG CFI (Control Flow > Integrity) on ARM32. Yay! Is CONFIG_CFI_PERMISSIVE=y expected to work with this series? I wasn't able to build with CONFIG_FTRACE=y; I got this link error: ld.lld: error: undefined symbol: ftrace_stub_graph (FWIW, I'm building against v6.8-rc2, maybe I need a different base?) But yes, I can boot and prototype mismatches are caught. Whee! :) Tested-by: Kees Cook -Kees -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel