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>] [day] [month] [year] [list]
Date: Sat, 27 Jan 2024 14:17:59 +0800
From: "陈嘉昀" <jiayunchen@...il.nju.edu.cn>
To: "netdev" <netdev@...r.kernel.org>
Subject: Report on Abnormal Behavior of "ip help" Command

To whom it may concern,

I hope this email finds you well. I am writing to report a behavior which seems to be abnormal. I have observed "ip help" returns -1 (255), even if the help information is printed to the terminal successfully.

This is potentially causing trouble when we're automatically checking whether a tool is basically working, by checking its return code (normally, like coreutils tools, --help returns 0). Is that better to make it return 0 on help, or keep -1 to make it backward compatible?

The information on my working environment is: Ubuntu22.04, iproute2-5.15.0, libbpf 0.5.0.

Thank you for your time and efforts, I am looking forward to your reply.

Best regards,
Chen Jiayun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ