Received: by 10.223.176.46 with SMTP id f43csp15335wra; Thu, 18 Jan 2018 13:11:26 -0800 (PST) X-Google-Smtp-Source: ACJfBouyeFLy/f2eFelGp88F7Q3L3FwkF3vITKvdHk4q7fHY5//Egf46dTmbGbgUBzK9gP2gWXC1 X-Received: by 10.101.72.197 with SMTP id o5mr8482443pgs.64.1516309886016; Thu, 18 Jan 2018 13:11:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516309885; cv=none; d=google.com; s=arc-20160816; b=Am19pCWvOPYyIN43Fsupt5pxdWmf1W+4uetWPwp1GO3wup9qhnXCw7bEeQ5h20wWZY D+DhQwvkUPHbBPY3wYdlm8aeUcqTCBvDEbs0D3J09Kh01D7WYGnm9dqRHIYyd3wck0z7 GGYGtn4VMYv3uu/hkFJzW5HKPQDTM65SpVwYTEo+DeggNUcQjSsqHxKkFyRwZuU1PN3+ 76UC7TDR+CC7wZ1f90bdcxFClDfuktMSp2WK4ycz2zz7w0/BgUGFcwKweDnMccRbZccS KLsu/l5tVtLJcqvw9oxM9or9NIoBc8GATK/KCz/g8Ri+I+jenXw8qGgI2IdQhev6s40A pccg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=inVlARX+k3oGM7bgTxhBMHNBXj7bm5kuEvP0Th4Zir0=; b=ean/+XDERIXn/lGEoiMyBuTZRwXjvlNddgq1fFxKcK6qi8cSllSjHRRd1BfJj3+ZFa QrSTpieqF7kecBoUNoqDzboRYaCL1Q0Xm3Kl7R/Ro7mkthhJ5bL+EK3CmRfKwGl28Q6n LYUSe862f8WHyOsWHyB2OzEop0N5xZM0LMcpqmf4Yvc8A3Jj8sYc8FaWCCYnjkn9gsa1 iyPIyYwn5eX3d+Ne1NoC/7DsqS3p2nFzgYJZQkh9FNBwGed7GAucMwhRYjFfwlrmxpVE PN8h+Br9QSiXAEpT5bfvWM9ukLz1h94saNh2iO/V4jFqZOF8nWGed2M0yiuPAC6gWCsz IpJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=LN+3mso9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l190si7656002pfc.64.2018.01.18.13.11.11; Thu, 18 Jan 2018 13:11:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=LN+3mso9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754013AbeARVJe (ORCPT + 99 others); Thu, 18 Jan 2018 16:09:34 -0500 Received: from merlin.infradead.org ([205.233.59.134]:49628 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752955AbeARVJ3 (ORCPT ); Thu, 18 Jan 2018 16:09:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=inVlARX+k3oGM7bgTxhBMHNBXj7bm5kuEvP0Th4Zir0=; b=LN+3mso9m6bKKqOdr1mBhrNfnd Cftb+HjJ9lG7riPK19VMrorRrcYFl23+s5ZGXN1wmDoWAcwrw0ewESEV09dbaM9TV+a+bzBoGznhy ECKOob+AVdr0+2MRyHK1t+L72pqi+ECpN46CLWmX70h4JsJ8g283O64HjzWkit/V3TsWCy0khqNYK jq+SynPQJxQLkVX0RlYk5h/PXsg/88SF+4uJiqwbxJOwGJYsMlHwWTiJ1HtXFuARJuUsUnz7DwOyT zcWTMomCZ22sxrSVg801Lghk6IV4k09eDXLgse6bqxAqIM6+/ZVGLHbVsmAW7P6pz5AvGTkboArya BJzTWfaA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.site) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1ecHRA-0004Vi-5X; Thu, 18 Jan 2018 21:09:28 +0000 Subject: Re: [PATCH] cfg80211: stop demanding lots of new stuff To: Hugh Dickins , Johannes Berg Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org References: <1516258057.410.55.camel@sipsolutions.net> From: Randy Dunlap Message-ID: <4eface89-e34a-c71a-a240-1a4015160508@infradead.org> Date: Thu, 18 Jan 2018 13:09:26 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/18/2018 01:07 PM, Hugh Dickins wrote: > On Thu, 18 Jan 2018, Johannes Berg wrote: >> On Wed, 2018-01-17 at 14:55 -0800, Hugh Dickins wrote: >>> "make oldconfig" from 4.14 (when CONFIG_CFG80211_CERTIFICATION_ONUS >>> is not set) to 4.15-rc, gets into asking lots of new questions, and >>> configuring in unwanted stuff: I'm unsure of my Kconfig skills, but >>> it looks like CFG80211_REQUIRE_SIGNED_REGDB's "default y" needs to >>> be toned down when we don't even have CFG80211_CERTIFICATION_ONUS. >> >> No, this is wrong - we want default configurations to be able to load a >> signed regulatory database and validate the signature. > > Great to enable that, but not so great to force new stuff on everyone. > It doesn't surprise me at all if the patch here is the wrong one, > but something needs to be done differently in this configuration. > > Perhaps you did not try on a system without SYSTEM_DATA_VERIFICATION > already enabled - that "select SYSTEM_DATA_VERIFICATION" seems to be > taking effect even when CFG80211_REQUIRE_SIGNED_REGDB is not enabled, > and pulls in a boatload. I agree that seems strange: perhaps the > Kconfig problem is somewhere else entirely. > > Attached my old 4.14 config, so you can see for yourself - thanks. NOT attached..................................... > In fact, I cannot even build the resulting config, without scurrying > around to update userspace with stuff I never needed before: > > HOSTCC scripts/extract-cert > scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory > > Hugh > >> >> johannes >> >>> >>> Signed-off-by: Hugh Dickins >>> --- >>> >>> net/wireless/Kconfig | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> --- 4.15-rc8/net/wireless/Kconfig 2017-12-03 10:22:51.928845056 -0800 >>> +++ linux/net/wireless/Kconfig 2018-01-14 19:20:22.595472965 -0800 >>> @@ -89,7 +89,7 @@ config CFG80211_CERTIFICATION_ONUS >>> >>> config CFG80211_REQUIRE_SIGNED_REGDB >>> bool "require regdb signature" if CFG80211_CERTIFICATION_ONUS >>> - default y >>> + default CFG80211_CERTIFICATION_ONUS >>> select SYSTEM_DATA_VERIFICATION >>> help >>> Require that in addition to the "regulatory.db" file a -- ~Randy