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] [day] [month] [year] [list]
Message-ID: <aWYFMrKXPBOgbY9k@ndev>
Date: Tue, 13 Jan 2026 16:41:22 +0800
From: Jinchao Wang <wangjinchao600@...il.com>
To: Luca Ceresoli <luca.ceresoli@...tlin.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
	"Matthieu Baerts (NGI0)" <matttbe@...nel.org>,
	Carlos Llamas <cmllamas@...gle.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scripts/decode_stacktrace.sh update usage to show
 vmlinux is mandatory

On Tue, Jan 13, 2026 at 08:57:03AM +0100, Luca Ceresoli wrote:
> Hello Jinchao,
> 
> On Mon Jan 12, 2026 at 10:10 AM CET, Jinchao Wang wrote:
> > The script currently errors out if vmlinux is not provided, but the
> > usage string implies it is optional. Remove the square brackets to
> > correctly indicate that <vmlinux> is a required argument.
> >
> > Signed-off-by: Jinchao Wang <wangjinchao600@...il.com>
> 
> Thanks for your patch, but it is not correct.
> 
> The vmlinux argument is optional when debuginfod info is found:
> 
>         # Can we use debuginfod-find?
>         if type debuginfod-find >/dev/null 2>&1 ; then
>                 debuginfod=${1-only}
>         fi
> 
>         if [[ $vmlinux == "" && -z $debuginfod ]] ; then
>                 echo "ERROR! vmlinux image must be specified" >&2
>                 usage
>                 exit 1
>         fi
> 
> (https://elixir.bootlin.com/linux/v6.19-rc4/source/scripts/decode_stacktrace.sh#L65-L74)
> 
> However I realize improving the error message might make sense, something
> like:
> 
>                 echo "ERROR! vmlinux image must be specified or debuginfo must be accessible" >&2

Thanks for the feedback. That sounds reasonable to me.
> 
> Best regards,
> Luca
> 
> --
> Luca Ceresoli, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ