Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2057284iob; Sun, 15 May 2022 06:45:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRtd2+7E4eJe8YryX7kM0xhiZh7HbVZDYCyf7GkjYlYDeuHy9GieXNl0qy07Qzs8aEWBAe X-Received: by 2002:a5d:6702:0:b0:20a:ce25:6590 with SMTP id o2-20020a5d6702000000b0020ace256590mr10726860wru.63.1652622350254; Sun, 15 May 2022 06:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652622350; cv=none; d=google.com; s=arc-20160816; b=GAP9s4EzZe4vIKXOmAMnmA2zMhgUTkoBUm4gNUaTlaJKptIMCjCBTG1MATv8aH0HKM 9ILEhPxIRX7ap9qjZYSfiXPcuj8gFOqd7VDJ88CHptB4B6xQ8SbnzP6hb4fznuZE8xhA skdw4lVM50fo4/QssXxwJF6KjMOmq7gRQKn8rk4zXmbStujlvmA1yut9RfoTmFmuicq2 GeYOOhkQKh7BLCT7i0qflGPXyE72tO4qeHJlKDol9HU04MS4nXcKvgLcI2qInuSNFDgw 6ZneiCSfT/oGPFyhTe4FyJCeG+W6PRf3eaAw2b982JV2P0LWK4rgHFNa96TG5FHt7X3S y83w== 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=LLS7Qs+kiru82aH5PJhByae1JVoVq6KGrh/vD5VnTrg=; b=AOPlsE5bybDBqlb2hSQS/AlEpBIgJ+nbqS35gg4JCdEOJNPFKBCsKWAzWV4OpFWNC2 h5wto/bCsX67yn3UItWYPwhpHD07JSPQjA1NlKY32No/A3YnRCyEmT3JFhesHE2MZaGU vqUjKwLfTGjQ3X1IbbEnHtwDomeBj88DPD+TnqAWqeHeUaTypRAxBSLdYZ8qaLCw0qAR J1KOG1NCsboB+6whQlMg9yEVD1tNfHzZNwkWw4enRgQKxBrBEvWVp0wLwwfMOOfEukaV NXXQgmm6P2LLG3uoI6BGgoU+WBmiRdFwXf1szLORBhnI+iPkkTTHInvxHRE0AC39aK0u +h/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Q+18rDTK; 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 ay3-20020a5d6f03000000b0020d006918a0si4044865wrb.360.2022.05.15.06.45.12; Sun, 15 May 2022 06:45:50 -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=Q+18rDTK; 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 S235290AbiENVoA (ORCPT + 99 others); Sat, 14 May 2022 17:44:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235279AbiENVn6 (ORCPT ); Sat, 14 May 2022 17:43:58 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D52B1838A for ; Sat, 14 May 2022 14:43:57 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id 202so10653930pgc.9 for ; Sat, 14 May 2022 14:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LLS7Qs+kiru82aH5PJhByae1JVoVq6KGrh/vD5VnTrg=; b=Q+18rDTK1r07EeGDwGKZz+sW2xEsYdgl6mXdAgXXAZp2VV8YQBl2ddvKiNk6+bRJE7 WhVB9ovIuJZkleoLE8Wg/p6xtgAPHv6rJhSaKFMs7ARU/f/Pk8MJRYbv0uJDzIG9bm2j 54NS4mNm22dOZTMg3b4zk3DeDlmGowgXLH7Qg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LLS7Qs+kiru82aH5PJhByae1JVoVq6KGrh/vD5VnTrg=; b=Lr8nDy9EmxPgVbz5Xk18cc82c5MHCuXjs2uaQh0OCwFy76WVOkmL6ga5RTgmRyxpdV vrZuNZiWgzDwxGMxg1JPVdQZmBISWudONpHi/knGNKlddmTAr5IC4267RPLsCpK+CF7F CiV+I4AtKKEJUpDqBdSvsY51LM7Z5hcxriXBqlY2q62htMxjUD/Ye4ceM4ZIggBUag2b k2nvgO89ORIdgNemGytF4JGYcABioYquD0qQa443xzlXNQFL6Z28tOt9mIG/iO5VOyT5 lNmjPt8LiAyXtMyIMeLINUtGG5a5o+mVnvMOABhkzXug9eSK6KHLq+ltrLjdODcfY/ZA yR4Q== X-Gm-Message-State: AOAM530xPlxHeJ19VqZLJOtOnBbuE3rDSrE/TTsk4c4R5Y8q62FnqCL/ cvVvjy9jVPjbqsou8CXAKB2AsA== X-Received: by 2002:a65:6810:0:b0:3c6:ae78:5fd0 with SMTP id l16-20020a656810000000b003c6ae785fd0mr9467906pgt.495.1652564637046; Sat, 14 May 2022 14:43:57 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id k10-20020a170902ce0a00b0015e8d4eb297sm4116507plg.225.2022.05.14.14.43.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 14:43:56 -0700 (PDT) Date: Sat, 14 May 2022 14:43:56 -0700 From: Kees Cook To: Sami Tolvanen Cc: linux-kernel@vger.kernel.org, Josh Poimboeuf , Peter Zijlstra , x86@kernel.org, Catalin Marinas , Will Deacon , Mark Rutland , Nathan Chancellor , Nick Desaulniers , Joao Moreira , Sedat Dilek , Steven Rostedt , linux-hardening@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev Subject: Re: [RFC PATCH v2 04/21] cfi: Remove CONFIG_CFI_CLANG_SHADOW Message-ID: <202205141443.516DD7C93C@keescook> References: <20220513202159.1550547-1-samitolvanen@google.com> <20220513202159.1550547-5-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220513202159.1550547-5-samitolvanen@google.com> X-Spam-Status: No, score=-2.7 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,T_SCC_BODY_TEXT_LINE 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 Fri, May 13, 2022 at 01:21:42PM -0700, Sami Tolvanen wrote: > In preparation to switching to -fsanitize=kcfi, remove support for the > CFI module shadow that will no longer be needed. > > Signed-off-by: Sami Tolvanen I like that most of this series is dropping code. :P Reviewed-by: Kees Cook -- Kees Cook