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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E4A4C433EF for ; Thu, 5 May 2022 13:50:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380125AbiEENya (ORCPT ); Thu, 5 May 2022 09:54:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380177AbiEENyJ (ORCPT ); Thu, 5 May 2022 09:54:09 -0400 X-Greylist: delayed 23050 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 05 May 2022 06:50:27 PDT Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B2421C4; Thu, 5 May 2022 06:50:23 -0700 (PDT) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 245Do2Vm001524; Thu, 5 May 2022 22:50:03 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 245Do2Vm001524 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1651758603; bh=9oRpkNgyXXtV+zgGcTivzSiWJg6PL7lzsKUtb+il+xA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WCAi+X3iW2LWnS+cyU6Xwt+mVMFWGKNgvm1N4fQyjnqbm5kc3n8AZNfmfQahJf44C 8baCi4AzET7HA49g1FxlljYCIcyH27XetjJU5oHET938gKf0mwwJvz2T8HhpMNLCrz P9Pn3Km3/Y/vQeek7U0RGRx1wEMV/zynJog1koCSG/7blY0+bz+o/+V+nd0dhDVIgT ObLR1jGvcZqTTJusj3s304q3S0HOyD8i5NlnZKlgrayMMnTlwQhkOi3xewdpgkQ2UG FMtXR+0Z3J9CI9yvcXTbq4t0xxUsKdPB9BdEjyOOS3D5O8xVFTCPswe5Ah2kSLCHdl WLmJgONxSW2YA== X-Nifty-SrcIP: [209.85.214.174] Received: by mail-pl1-f174.google.com with SMTP id n18so4453578plg.5; Thu, 05 May 2022 06:50:03 -0700 (PDT) X-Gm-Message-State: AOAM5337OApzlSjvMivzBuGPOcIlt85F07dCzPAk70PrPMKs1ZJpu0TO ALyzMqaQ7j0d3brF4XksznGsKpYAul0EsDH8fk8= X-Google-Smtp-Source: ABdhPJwUvU2dd6I2MVotZAWGiD+mCtj6djZTY+lh8nRnnAK5x12OI9taA02MBGobfNqjKVY/3aiklbcYcNl4MlrBSIM= X-Received: by 2002:a17:90a:8405:b0:1bc:d521:b2c9 with SMTP id j5-20020a17090a840500b001bcd521b2c9mr6301241pjn.119.1651758602352; Thu, 05 May 2022 06:50:02 -0700 (PDT) MIME-Version: 1.0 References: <20220505072244.1155033-1-masahiroy@kernel.org> <20220505072244.1155033-3-masahiroy@kernel.org> In-Reply-To: <20220505072244.1155033-3-masahiroy@kernel.org> From: Masahiro Yamada Date: Thu, 5 May 2022 22:48:55 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 02/15] modpost: change the license of EXPORT_SYMBOL to bool type To: Linux Kbuild mailing list Cc: clang-built-linux , Linux Kernel Mailing List , Nicolas Schier a , Ard Biesheuvel , Luis Chamberlain , Peter Zijlstra , linuxppc-dev , linux-um@lists.infradead.org, linux-s390 , Nick Desaulniers , Sami Tolvanen , Kees Cook Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 5, 2022 at 4:24 PM Masahiro Yamada wrote: > > Currently, enum export is tristate, but export_unknown does not make > sense in any way. > > If the symbol name starts with "__ksymtab_", but the section name > does not start with "___ksymtab+" or "___ksymtab_gpl+", it is not > an exported symbol. The variable name just happens to start with > "__ksymtab_". Do not call sym_add_exported() in this case. > > __ksymtab_* is internally by EXPORT_SYMBOL(_GPL) but somebody may I mean "... is internally used by ..." -- Best Regards Masahiro Yamada 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 5850CC433F5 for ; Thu, 5 May 2022 13:51:03 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KvFTd44rpz3c7D for ; Thu, 5 May 2022 23:51:01 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.a=rsa-sha256 header.s=dec2015msa header.b=WCAi+X3i; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=softfail (domain owner discourages use of this host) smtp.mailfrom=kernel.org (client-ip=210.131.2.91; helo=conssluserg-06.nifty.com; envelope-from=masahiroy@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.a=rsa-sha256 header.s=dec2015msa header.b=WCAi+X3i; dkim-atps=neutral Received: from conssluserg-06.nifty.com (conssluserg-06.nifty.com [210.131.2.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4KvFSs683Lz3bXg for ; Thu, 5 May 2022 23:50:21 +1000 (AEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 245Do2Nj015266 for ; Thu, 5 May 2022 22:50:03 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 245Do2Nj015266 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1651758603; bh=9oRpkNgyXXtV+zgGcTivzSiWJg6PL7lzsKUtb+il+xA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WCAi+X3iW2LWnS+cyU6Xwt+mVMFWGKNgvm1N4fQyjnqbm5kc3n8AZNfmfQahJf44C 8baCi4AzET7HA49g1FxlljYCIcyH27XetjJU5oHET938gKf0mwwJvz2T8HhpMNLCrz P9Pn3Km3/Y/vQeek7U0RGRx1wEMV/zynJog1koCSG/7blY0+bz+o/+V+nd0dhDVIgT ObLR1jGvcZqTTJusj3s304q3S0HOyD8i5NlnZKlgrayMMnTlwQhkOi3xewdpgkQ2UG FMtXR+0Z3J9CI9yvcXTbq4t0xxUsKdPB9BdEjyOOS3D5O8xVFTCPswe5Ah2kSLCHdl WLmJgONxSW2YA== X-Nifty-SrcIP: [209.85.214.180] Received: by mail-pl1-f180.google.com with SMTP id j14so4454820plx.3 for ; Thu, 05 May 2022 06:50:03 -0700 (PDT) X-Gm-Message-State: AOAM532vcbo+uMd0blOlrGWAOzKYVqC5W1t2t3dB8T0Lq4Tlb9dOX2+q x38ymv2Nyv0dCA+43IbZBIFaXEp2Kvon01gd11c= X-Google-Smtp-Source: ABdhPJwUvU2dd6I2MVotZAWGiD+mCtj6djZTY+lh8nRnnAK5x12OI9taA02MBGobfNqjKVY/3aiklbcYcNl4MlrBSIM= X-Received: by 2002:a17:90a:8405:b0:1bc:d521:b2c9 with SMTP id j5-20020a17090a840500b001bcd521b2c9mr6301241pjn.119.1651758602352; Thu, 05 May 2022 06:50:02 -0700 (PDT) MIME-Version: 1.0 References: <20220505072244.1155033-1-masahiroy@kernel.org> <20220505072244.1155033-3-masahiroy@kernel.org> In-Reply-To: <20220505072244.1155033-3-masahiroy@kernel.org> From: Masahiro Yamada Date: Thu, 5 May 2022 22:48:55 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 02/15] modpost: change the license of EXPORT_SYMBOL to bool type To: Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-s390 , Nicolas Schier a , Peter Zijlstra , Nick Desaulniers , linux-um@lists.infradead.org, Linux Kernel Mailing List , clang-built-linux , Luis Chamberlain , Sami Tolvanen , linuxppc-dev , Ard Biesheuvel , Kees Cook Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, May 5, 2022 at 4:24 PM Masahiro Yamada wrote: > > Currently, enum export is tristate, but export_unknown does not make > sense in any way. > > If the symbol name starts with "__ksymtab_", but the section name > does not start with "___ksymtab+" or "___ksymtab_gpl+", it is not > an exported symbol. The variable name just happens to start with > "__ksymtab_". Do not call sym_add_exported() in this case. > > __ksymtab_* is internally by EXPORT_SYMBOL(_GPL) but somebody may I mean "... is internally used by ..." -- Best Regards Masahiro Yamada From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-03.nifty.com ([210.131.2.82]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmbs4-00GA5K-Gk for linux-um@lists.infradead.org; Thu, 05 May 2022 13:50:27 +0000 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 245Do26n009652 for ; Thu, 5 May 2022 22:50:03 +0900 Received: by mail-pl1-f177.google.com with SMTP id i17so4434873pla.10 for ; Thu, 05 May 2022 06:50:03 -0700 (PDT) MIME-Version: 1.0 References: <20220505072244.1155033-1-masahiroy@kernel.org> <20220505072244.1155033-3-masahiroy@kernel.org> In-Reply-To: <20220505072244.1155033-3-masahiroy@kernel.org> From: Masahiro Yamada Date: Thu, 5 May 2022 22:48:55 +0900 Message-ID: Subject: Re: [PATCH v3 02/15] modpost: change the license of EXPORT_SYMBOL to bool type 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-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Linux Kbuild mailing list Cc: clang-built-linux , Linux Kernel Mailing List , Nicolas Schier a , Ard Biesheuvel , Luis Chamberlain , Peter Zijlstra , linuxppc-dev , linux-um@lists.infradead.org, linux-s390 , Nick Desaulniers , Sami Tolvanen , Kees Cook On Thu, May 5, 2022 at 4:24 PM Masahiro Yamada wrote: > > Currently, enum export is tristate, but export_unknown does not make > sense in any way. > > If the symbol name starts with "__ksymtab_", but the section name > does not start with "___ksymtab+" or "___ksymtab_gpl+", it is not > an exported symbol. The variable name just happens to start with > "__ksymtab_". Do not call sym_add_exported() in this case. > > __ksymtab_* is internally by EXPORT_SYMBOL(_GPL) but somebody may I mean "... is internally used by ..." -- Best Regards Masahiro Yamada _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um