Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2518649ybg; Fri, 31 Jul 2020 02:04:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI8PVsbc1Bfr4VtB+/xpO2n8Fgi2Rnky9WYEj81EBp2g9bwsiW2bElCi1ado6tm6M4OvxW X-Received: by 2002:a05:6402:1b89:: with SMTP id cc9mr2890281edb.227.1596186287013; Fri, 31 Jul 2020 02:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596186287; cv=none; d=google.com; s=arc-20160816; b=RPjOllxSUrwsuMLLxdX9eP0nDHSQDESgD1jnQOqqfswo9Is23RkdsSCRK0Y/IxL6M6 XfyvyIrqQSuMSguPewHLqmoRzHojbNJW8W6fOFfUMFqXGMtvq/0Er3ULL3awqheKtdq4 +KA+tIGJFNEOz2HISPcQvfhBYb8UCSBRibI7JdLIdZ+8ps/+sGSKEcBtdW++yH75Q+HG HTBQ+VjMTvdPZeUxzU3xhhQS0UpPDSsjO7/6fpLz3hpV4hYHnz18r9d6l/V0wNSVc1/b oqIkCi3k+fVU/BIAMnZCM5Zhm+zGD4yK4fXVVvOzXXDRNQJbba4y9r14/Hu81K3nvUDo Z1PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UmSeXhS8PJMVXI9q7cuQpPQmA8tLCyaSOMcxqOLb3f0=; b=TAx7jq5DLBFykaxRbwtPHuoo6XS/UegKQPO7gY+wWC4wRVQp5YJ1AFVuSGBdXPVAhU OpsKNFJlxv0tbLhpumKqV/WV2gsfnK8hY5VlhzwqXw1salJ12cVWcw2WJ4we4I97BfV+ EDybt3bhnWvQaeQJs3zz+RwZixskOWYxAyaUoh4pXDK7pwsmTx9zUOmfanj+IuGTUcsw U/9QLjWThmfyux9/ZfywkmuxCkW4WnOJ17Fa4nG+9QGDf8MMQdFJ9xFhXCU2GFF77t3q EfZ/Hia0UMkNc2yrHAs6I8O4crRAtk5XbsgeGwcnmMDTgFEa4cILCNmBnczsTdsO9Kpw 6Ayw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tL1TFZmp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si4863874edn.299.2020.07.31.02.04.24; Fri, 31 Jul 2020 02:04:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tL1TFZmp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731848AbgGaJCC (ORCPT + 99 others); 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!