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 X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F36DBC433E0 for ; Fri, 31 Jul 2020 09:02:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CA0FA20838 for ; Fri, 31 Jul 2020 09:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596186125; bh=VzvDxOpkpDZeBLAYV54kZ8yZopl5rEXjUzBrDCd3zSk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Cg1bRVIfBntNbd/DYdX9nIU4A4B6hkFeWd3V4oC3AgE+1eCYXp2R3U/HLgIqYL4K6 y1+L87KKKQ6pvyjEdEY8Wzej5QrqSJEhL6xB452iQT/AmU91iw31Uv/SpfRIH2CnHg DxvvHCDOS+UAFwC4PBUwfiTTVyoNhXuuZSZHSH1w= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732022AbgGaJCC (ORCPT ); Fri, 31 Jul 2020 05:02:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:59466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728437AbgGaJCC (ORCPT ); Fri, 31 Jul 2020 05:02:02 -0400 Received: from linux-8ccs (p57a236d4.dip0.t-ipconnect.de [87.162.54.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0E2F420829; Fri, 31 Jul 2020 09:02:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596186121; bh=VzvDxOpkpDZeBLAYV54kZ8yZopl5rEXjUzBrDCd3zSk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tL1TFZmpDLGhfJknLM2RJu5Xk+SHb73kDz+3rl2Oc5dLSCGQe01OPVfQlVVqZOjEI W+S1QTHvxDjL5yBxzYLQXeh3v/e7bI+SSweD46NVPhpOVkYfMu09fgLVAcAH8T4afh 7dzfgm2kUe2j2mvTdnuRh6kJZso8i7NTH1UI5BzY= Date: Fri, 31 Jul 2020 11:01:58 +0200 From: Jessica Yu To: Christoph Hellwig Cc: Greg Kroah-Hartman , open list Subject: Re: [PATCH 8/8] modules: inherit TAINT_PROPRIETARY_MODULE Message-ID: <20200731090154.GB20130@linux-8ccs> References: <20200730061027.29472-1-hch@lst.de> <20200730061027.29472-9-hch@lst.de> <20200730141232.GA31539@linux-8ccs> <20200730162957.GA22469@lst.de> <20200731085129.GA20130@linux-8ccs> <20200731090008.GA12930@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200731090008.GA12930@lst.de> X-OS: Linux linux-8ccs 5.5.0-lp150.12.61-default x86_64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ Christoph Hellwig [31/07/20 11:00 +0200]: >On Fri, Jul 31, 2020 at 10:51:30AM +0200, Jessica Yu wrote: >>> + if (mod->using_gplonly_symbols) { >>> + pr_info("%s: module using GPL-only symbols uses symbols from proprietary module %s.\n", >>> + mod->name, owner->name); >> >> pr_err() maybe? >> >>> + return false; >>> + } >>> + >>> + if (!test_bit(TAINT_PROPRIETARY_MODULE, &mod->taints)) { >>> + pr_info("%s: module uses symbols from proprietary module %s, inheriting taint.\n", >>> + mod->name, owner->name); >> >> and pr_warn()? But otherwise this looks much better. > >Ok with me. Can you just fix it up, or do you want a full resend? I can fix it up, no need to resend. Thanks!