Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2516956ybg; Fri, 31 Jul 2020 02:01:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOho8PP6JxDh3KEZt9txvGeRnWI52d9sg5VVMjlK0fMjFtxdX42ymQF7W0GMSfc4Bod7pe X-Received: by 2002:a17:906:95d4:: with SMTP id n20mr3122431ejy.485.1596186076067; Fri, 31 Jul 2020 02:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596186076; cv=none; d=google.com; s=arc-20160816; b=oTavFAo4djvpr+sI2gyC2vs25Ndxsu8AfKmfsTgbToaWh/dcVct0Oe2S4Zjj8bhC4r +z/FC3fcUV8Q4hW+rmD839TtuxNTSysjVcP7KtIGFuCt0kVhiDJncmUQ84EO12w8warL NES0QEpGbdCAS3pHILewhTcHMJEOtqExJOFlACKB/Oy+E5FK0QRwTCL1m4ugN7xze1GH WULPixCoGe3QcY4r8tjEAQhFO+78ZujBK3tokTu/b6ym+vlm3PPrJUSA1WOcYgt2IOH4 D9MsjK5dyt8+ZPuuQ4X6NSeFdvd16O6lz1EEegTHDmHdweuo1LktPJzEeQ4RRzEBJMev ah/A== 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; bh=nKPMZPF+i25RitE4Tsm2028UE/x08HhHeKyUBtYNemc=; b=Puvwp5vNnH+hmB3uu6l1axCPmERQsvoS0Tqlt5qDRyztNFE+RXlkiDof8aa/RV8o4a R4WnazVoYVQLasULZ1KpqwQ/2SEqr/zhspoiSTbJHowgESR1Ck+fVGSgYtg9fCAhvu3T 1LrYvR70Z6XETXK46DLVXOZvd+eVfNa/dLydRMs3E+7cbTwc6jKDiGXr6SaiP2Dg516B XvupLhGdLI+ewBI7h0QNKFIUzTRi+BwvgtJAqGpmNnWO4hngj8K5NSHLJsXJR8DN75P7 SYCBR2Y2eGrWWu3DFE7j3Bi9UBh+OVHBOpWdjDT+6xvjiaz6n580ADBIyjg8WWEy7zcK RVGQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si4833958edz.228.2020.07.31.02.00.53; Fri, 31 Jul 2020 02:01:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732039AbgGaJAM (ORCPT + 99 others); Fri, 31 Jul 2020 05:00:12 -0400 Received: from verein.lst.de ([213.95.11.211]:58594 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731998AbgGaJAL (ORCPT ); Fri, 31 Jul 2020 05:00:11 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 5382768BFE; Fri, 31 Jul 2020 11:00:09 +0200 (CEST) Date: Fri, 31 Jul 2020 11:00:08 +0200 From: Christoph Hellwig To: Jessica Yu Cc: Christoph Hellwig , Greg Kroah-Hartman , open list Subject: Re: [PATCH 8/8] modules: inherit TAINT_PROPRIETARY_MODULE Message-ID: <20200731090008.GA12930@lst.de> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200731085129.GA20130@linux-8ccs> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?