🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel
Article #24

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

#24
From: Ahmed S. Darwish
Date: Mon, 09 Nov 2026 16:40
45 lines
4101 bytes
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.

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.

Thanks!

--
Ahmed S. Darwish
Linutronix GmbH
Technical Details
Message-ID: <NXAzv-aQtS-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Ahmed S. Darwish" <darwi@linutronix.de>
Newsgroups: linux.debian.kernel,linux.kernel
Subject: Re: [PATCH v1 00/10] tools: Introduce a kernel configuration checker
Date: Mon, 09 Nov 2026 17:40:01 +0100
Message-ID: <NXAzv-aQtS-1@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>
X-Mailbox-Line: From debian-kernel-request@lists.debian.org  Mon Nov  9 16:33:09 2026
Old-Return-Path: <darwi@linutronix.de>
X-Amavis-Spam-Status: No, score=-4.4 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, 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: -4.6
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/158163
List-ID: <debian-kernel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-kernel/>
List-Archive: https://lists.debian.org/msgid-search/avHxmCEdHgyRD7n0@lx-t490
Approved: robomod@news.nic.it
Lines: 45
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 17:15:20 +0100
X-Original-Message-ID: <avHxmCEdHgyRD7n0@lx-t490>
X-Original-References: <20261106091922.7560-1-darwi@linutronix.de>
 <a20153cd-d148-4618-8089-ad81cb16fe23@gmail.com>
 <20261109003745.GA3429615@ax162>