Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2640933rwb; Fri, 16 Dec 2022 04:54:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf5wBfMtECmA6ueejSYmUxhEnqiy9C8intNShZKbwl5+rgwiVdpYTE72YcEmZmLLxO+HvV9e X-Received: by 2002:a05:6402:390b:b0:45c:835c:1ec5 with SMTP id fe11-20020a056402390b00b0045c835c1ec5mr25265876edb.19.1671195260094; Fri, 16 Dec 2022 04:54:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671195260; cv=none; d=google.com; s=arc-20160816; b=gmtEaoLAiBZB2B9av6xDp73nK3u6QuB/5kj07YInXP+mcTjeBd7Zbjk3XuEBWzO9X3 695X2YlxwcatzWmFx9q08NB6845lTExLebfQMkKSAxa7zcuEsCfR6wIB+uUfXnjng+N4 kq5Puy31vYPJJxSBm6aAAA9QCJG8myWnEqjfQCB21QMbv/N8Bxp4xy83R1Z3I33n4DQo sW0venZiPXLOLeUIrVvaa+tN/aoPE3uo0bY1zzvUSuyDR8w/hLn4gYDttE7VmesCUPcM jpwPUgJ3mSFtrBJU7bnW06bj2Cb6QioGVs+3TzTKhJUTuwEz7HhUw8Se53/C/Svp7wBl Pa/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=6JRCrT2+3M959qaGMLV+TZgCqCDtPR/zWJ4pEYus84w=; b=Rk/N2XiJno/+xWyAh1CzQzRnPKDWpa8YITmXcMkjpDLJm0/227OJ+r/G91kJnHaGLc 47st5qH18DPIkULl6L893bcG3N1j0fZ1dMT8R5vThI+MOISZwkrPJcoiP42naBLw22b6 v8dvdJhLte1+WweQPd03ksRmQg7+gQ4wgDI2mg7gDL7Zw03mW0yyqWd2jsn+OEYhAC7h akRTtJ3mNqC1zM9cyjN/scpRW5x/67op18QnzhWb5dtjXF8ByDp9KdgZJUh8ZUHu396b 4IgWqIA6DfMYTMdp4/CUSjeQotZ3BbS+VjDATf33P48IEspnLBVno3b3BNN9DPfcOjlD a33Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz15-20020a1709077d8f00b007c0fa8181c3si2237544ejc.454.2022.12.16.04.54.03; Fri, 16 Dec 2022 04:54:20 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbiLPMjV (ORCPT + 68 others); Fri, 16 Dec 2022 07:39:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230096AbiLPMjP (ORCPT ); Fri, 16 Dec 2022 07:39:15 -0500 Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C16C53136F; Fri, 16 Dec 2022 04:39:14 -0800 (PST) Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4NYTDv24YLz1s94H; Fri, 16 Dec 2022 13:39:11 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4NYTDt5Nxjz1qqlR; Fri, 16 Dec 2022 13:39:10 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id rTxTLGbYhnjR; Fri, 16 Dec 2022 13:39:09 +0100 (CET) X-Auth-Info: S6wIooAYwydxgRhoxevAMWGBKEnrNIOuXeqxYKDO76yya3cZo4Z8xmmMmTU8T2uU Received: from igel.home (aftr-62-216-205-197.dynamic.mnet-online.de [62.216.205.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 16 Dec 2022 13:39:09 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 010052C31C2; Fri, 16 Dec 2022 13:39:08 +0100 (CET) From: Andreas Schwab To: "Leizhen (ThunderTown)" Cc: Geert Uytterhoeven , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , , , Masahiro Yamada , Alexei Starovoitov , Jiri Olsa , Kees Cook , Andrew Morton , Luis Chamberlain , , Steven Rostedt , Ingo Molnar , David Laight , linux-m68k , "Jason A. Donenfeld" Subject: Re: [PATCH v9] kallsyms: Add self-test facility References: <20221115083349.1662-1-thunder.leizhen@huawei.com> <87len7k1yn.fsf@igel.home> <9f2d4035-c647-4bd9-ffff-b970a88bcc88@huawei.com> X-Yow: I want the presidency so bad I can already taste the hors d'oeuvres. Date: Fri, 16 Dec 2022 13:39:08 +0100 In-Reply-To: <9f2d4035-c647-4bd9-ffff-b970a88bcc88@huawei.com> (Leizhen's message of "Fri, 16 Dec 2022 19:57:51 +0800") Message-ID: <87a63njzf7.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS 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 Dez 16 2022, Leizhen (ThunderTown) wrote: > Why consider the high bit? It is not memcmp(). If the high bit is set, > it is the user's fault. Nope, the semantics of strcmp are defined on the full CHAR_MIN to CHAR_MAX range. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."