🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.kernel
Article #513

Re: [PATCH v1 00/10] tools: Introduce a kernel configuration checker

#513
From: Nathan Chancellor
Date: Mon, 09 Nov 2026 17:20
52 lines
4849 bytes
On Mon, Nov 09, 2026 at 05:15:20PM +0100, Ahmed S. Darwish wrote:
> On Sun, 08 Nov 2026, Nathan Chancellor wrote:
> >
> > On Sun, Nov 08, 2026 at 06:59:26PM +0000, Julian Braha wrote:
> > > I think the name will cause confusion.
> > >
> > > We already have some "kconfig checkers" in-tree, like
> > > scripts/kconfig-sym-check.pl
> > >
> > > But actually, your tool is quite unrelated, because that one checks
> > > 'Kconfig' source files, while yours checks the user's '.config' file.
> > >
> > > This has already caused some confusion in the past, for example in this
> > > thread [2], someone misunderstood which one 'kconfig-sym-check'
> > > actually checks.
> > >
> > > In addition to .config vs Kconfig, the name is similar to
> > > 'kconfig-sym-check', but is not as descriptive about *what kind* of
> > > checks it performs.
> >
> > Yeah, I had similar thoughts when this initially appeared in my inbox.
> > As you mentioned in your email, this is basically a policy checker (“we
> > need these configuration options enabled or disabled to meet our
> > requirements”), so maybe config-policy-checker or something like that
> > would be clearer?
> 
> I would've loved to keep "kconfig" in the name so that outside the kernel,
> it's still clear it's about a kernel .config. For example, a Debian package
> for this tool can be called "kconfig-checker", "kconfig-policy-checker",
> etc.

Sure, that makes sense. Like Julian mentioned, kconfig is certainly an
overloaded term but there is little we can do about that now :)

> What about kconfig-audit?  Something like:
> 
>    ./tools/kconfig-audit/audit.py -c .config -p PREEMPT_RT
> 
>    make POLICY=preempt_rt auditconfig
> 
> config-policy-checker does sound good, but it feels verbose.
> 
> Feedback appreciated.

Yeah, config-policy-checker is a little verbose and might not translate
into make rules well. kconfig-audit does not sound bad to me, especially
with the rename of RULES to POLICY; at the very least, it is on the
right track.

-- 
Cheers,
Nathan
Technical Details
Message-ID: <NXBcd-aQQz-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NWoK5-aaez-7@gated-at.bofh.it> <NXm3v-aILv-9@gated-at.bofh.it> <NXm3v-aILv-7@gated-at.bofh.it> <NXAzv-aQtS-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Nathan Chancellor <nathan@kernel.org>
Newsgroups: linux.debian.kernel,linux.kernel
Subject: Re: [PATCH v1 00/10] tools: Introduce a kernel configuration checker
Date: Mon, 09 Nov 2026 18:20:01 +0100
Message-ID: <NXBcd-aQQz-9@gated-at.bofh.it>
References: <NWoK5-aaez-7@gated-at.bofh.it> <NXm3v-aILv-9@gated-at.bofh.it> <NXm3v-aILv-7@gated-at.bofh.it> <NXAzv-aQtS-1@gated-at.bofh.it>
X-Original-To: "Ahmed S. Darwish" <darwi@linutronix.de>
X-Mailbox-Line: From debian-kernel-request@lists.debian.org  Mon Nov  9 17:15:08 2026
Old-Return-Path: <nathan@kernel.org>
X-Amavis-Spam-Status: No, score=-4.401 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate:hard: -5.5
X-Greylist: delayed 364 seconds by postgrey-1.37 at bendel; Mon, 09 Nov 2026 16:58:44 UTC
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Mailing-List: <debian-kernel@lists.debian.org> archive/latest/158166
List-ID: <debian-kernel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-kernel/>
List-Archive: https://lists.debian.org/msgid-search/20261109165230.GC1608140@ax162
Approved: robomod@news.nic.it
Lines: 52
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Julian Braha <julianbraha@gmail.com>,
	Clark Williams <clrkwllms@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ingo Molnar <mingo@redhat.com>, Nicolas Schier <nsc@kernel.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Frederic Weisbecker <frederic@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jonathan Corbet <corbet@lwn.net>,
	John Ogness <john.ogness@linutronix.de>,
	Derek Barbosa <debarbos@redhat.com>,
	Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>,
	Daan De Meyer <daan.j.demeyer@gmail.com>,
	Luca Boccassi <luca.boccassi@gmail.com>,
	linux-rt-devel@lists.linux.dev, debian-kernel@lists.debian.org,
	linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, arighi@nvidia.com
X-Original-Date: Mon, 9 Nov 2026 11:52:30 -0500
X-Original-Message-ID: <20261109165230.GC1608140@ax162>
X-Original-References: <20261106091922.7560-1-darwi@linutronix.de>
 <a20153cd-d148-4618-8089-ad81cb16fe23@gmail.com>
 <20261109003745.GA3429615@ax162>
 <avHxmCEdHgyRD7n0@lx-t490>