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: <20250926112406.1d92c89d@kernel.org>
Date: Fri, 26 Sep 2025 11:24:06 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Haofeng Li <920484857@...com>
Cc: Donald Hunter <donald.hunter@...il.com>, netdev@...r.kernel.org,
 linux-kernel@...r.kernel.org, Haofeng Li <13266079573@....com>, Haofeng Li
 <lihaofeng@...inos.cn>
Subject: Re: [PATCH] net: ynl: return actual error code in ynl_exec_dump()

On Fri, 26 Sep 2025 17:58:20 +0800 Haofeng Li wrote:
> Return the real error code 'err' instead of hardcoded -1 in the error
> path of ynl_exec_dump(). This provides better error information to
> callers for debugging and error handling.

Do you have a realistic example that can happen today? This is not
kernel code the error is always -1, and the details are in errno.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ