lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1dd4c336-d281-6da3-ba37-d13bbf7c2537@infradead.org>
Date:   Tue, 12 Apr 2022 09:51:51 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Chen Lifu <chenlifu@...wei.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 -next] scripts: add compare-config utility

Hi--

On 4/12/22 01:30, Chen Lifu wrote:
> This is an alternative utility to compare two .config files. Unlike
> existing utilities "diffconfig" in the kernel tree, it prints detailed
> results in table style, and support config name prefix so that it can be
> used elsewhere. It is useful sometimes, for example, to analyze .config files
> through tables, or to compare Buildroot .config.
> 
> With grep and awk, it can print similar results like "diffconfg" as well.
> 
> Signed-off-by: Chen Lifu <chenlifu@...wei.com>

Is your goal to have this merged into the kernel source tree?
If so, you should also send the patch the the kconfig maintainer and
mailing list.

The output is quite verbose in its default mode (no options specified).
To get something useful, I use -C -O -N.

For my uses and preferences, I would like to see a -D (e.g.) which
is just a combination of -CON. And it would be nice if that was the
default mode also. :)

> ---
> Changes in v2:
> - Add config name prefix support
> 
>  scripts/compare-config | 201 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 201 insertions(+)
>  create mode 100755 scripts/compare-config

thanks.
-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ