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: <20250905175716.098114bd@kernel.org>
Date: Fri, 5 Sep 2025 17:57:16 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: David Yang <mmyangfl@...il.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>, Eric
 Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Simon
 Horman <horms@...nel.org>, Shuah Khan <shuah@...nel.org>, Ido Schimmel
 <idosch@...dia.com>, Yong Wang <yongwang@...dia.com>, Nikolay Aleksandrov
 <razor@...ckwall.org>, Petr Machata <petrm@...dia.com>, Andy Roulin
 <aroulin@...dia.com>, Vladimir Oltean <vladimir.oltean@....com>, Amit Cohen
 <amcohen@...dia.com>, Alessandro Zanni <alessandro.zanni87@...il.com>, Li
 Shuang <shuali@...hat.com>, Xin Long <lucien.xin@...il.com>, Cong Wang
 <xiyou.wangcong@...il.com>, linux-kselftest@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] selftests: forwarding: Reorder arguments to
 obey POSIX getopt

On Sat,  6 Sep 2025 01:39:41 +0800 David Yang wrote:
> Quoted from musl wiki:
> 
>   GNU getopt permutes argv to pull options to the front, ahead of
>   non-option arguments. musl and the POSIX standard getopt stop
>   processing options at the first non-option argument with no
>   permutation.
> 
> Thus these scripts stop working on musl since non-option arguments do
> not always come last. Fix it by reordering arguments.

Have you tested this? You seem to be breaking mausezahn.
-- 
pw-bot: cr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ