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 5C86BECAAD3 for ; Wed, 31 Aug 2022 18:25:05 +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=Jsddo60YetUBKtwMj6N1+7EYMTYNqWRm647m7rWwHso=; b=q9a2XKWgF8HGxh DaIVrYlIFojbRoG5MHAfLZEKrOaLqihB/CHWKAte9C2JWByMtAHfxdywtFlVCYbwWxlOOV9G5qNwM 0hZK3M8VZSMiVWe003rzYcpsJTt8junvP0rhbYHSQJmxE1XBMO5EZDk03LvuoVgeYqen/LTCgo3sb Hj8WY8+bOCNkTWqaFAH+s8w7EEGsar0frqCbK09DUay6ewxLwjDMkXs9ViSpXdBU77MXYBb97ho7I LKOr51bhNHFMamNqGTN9ZXpkYqfaA0tXxqvfJmsx7S3YLfX111gViFDj0A80qON+6520lWJXX5O/T +k8YDx4qECkj0EhpI5og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTSNh-007XnO-QG; Wed, 31 Aug 2022 18:24:05 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTSNe-007Xm1-5g for linux-arm-kernel@lists.infradead.org; Wed, 31 Aug 2022 18:24:03 +0000 Received: by mail-pj1-x1029.google.com with SMTP id h11-20020a17090a470b00b001fbc5ba5224so102434pjg.2 for ; Wed, 31 Aug 2022 11:24:01 -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; bh=QOzTr0839E3H9tR0wkETuj4b9U9VUvaitz4KI9/r73I=; b=EWOrlKJU+LjqRQ/uV9Xua9LvEAnJThp75klKQawBXR3MM0Z+lCfQZzsPiCp50MfMKn RrB3LHxP6lWHR8RQlk9SL2/wueb5grQcMqwigHiPfW8os7zYwv5SeTLb6G+whxDTtkF/ RiTcqxJYXg7XbnnSYwkrDgauuEFFak+11Xl2A= 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; bh=QOzTr0839E3H9tR0wkETuj4b9U9VUvaitz4KI9/r73I=; b=cujHIKfg/NL1ByJdyWK8Qa++T/EkAEcD3hLKMBmhkYI86rlu0N+cflpZrhpwU9Unze E3S+u3N8rXJvUjXW/gtQWa7WlPEa1C4reSeEgSFjyp5+UVuTpGgKztFn3KDnWhUAZHW7 cpjuETgDs0PutwD/E1txara2lS4v2esTQa3ePmvN65bHznRG0rl9GVS9MGaFzG5exjXQ wv/yYPkZRbp/vrQtTsRl3bzd6V5U5sJHyW1iYpA8o4ooXs0BrzzO22Ok0WWlEqvNX4GF MosUkDw57MG8w9mQY/KXjmyG6r66wDLskN/0fc2ZlIa8PYiopAmN/ogKOAiZN7yTpQ65 4e3g== X-Gm-Message-State: ACgBeo0HiibUsisL4m3UugHUo24YkLX1cYEFGlcKVBLDSiDJkcjnWAkF l/7f+Atyq1zJrVJmhL0AALa/cA== X-Google-Smtp-Source: AA6agR7ryAbaJQVqp1mJEckyrIip9baCtObI7dR5faSXw3AEvsfrQpKGzAcIiDq8Eww2LkxtypaSAQ== X-Received: by 2002:a17:902:b68d:b0:172:e973:82b9 with SMTP id c13-20020a170902b68d00b00172e97382b9mr27132898pls.120.1661970241179; Wed, 31 Aug 2022 11:24:01 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id z24-20020aa79f98000000b00537f9e32b00sm9156524pfr.37.2022.08.31.11.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 11:24:00 -0700 (PDT) Date: Wed, 31 Aug 2022 11:23:59 -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: [PATCH v4 17/21] kallsyms: Drop CONFIG_CFI_CLANG workarounds Message-ID: <202208311123.B3B651E@keescook> References: <20220830233129.30610-1-samitolvanen@google.com> <20220830233129.30610-18-samitolvanen@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220830233129.30610-18-samitolvanen@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220831_112402_243077_EE5BE56C X-CRM114-Status: GOOD ( 11.85 ) 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 Tue, Aug 30, 2022 at 04:31:25PM -0700, Sami Tolvanen wrote: > With -fsanitize=kcfi, the compiler no longer renames static > functions with CONFIG_CFI_CLANG + ThinLTO. Drop the code that cleans > up the ThinLTO hash from the function names. > > Signed-off-by: Sami Tolvanen Reviewed-by: Kees Cook -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel